Modify the oracle database password expiration

Follow the steps of:

1, view the user's proifle which generally default:

sql>SELECT username,PROFILE FROM dba_users;

2. Check the specified profile (such as default) The password expiration settings:

sql>SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';

3, will be modified by the default password is valid 180 days as "unlimited":

sql>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

Guess you like

Origin www.cnblogs.com/jacksonxiao/p/11263462.html