Got it

Oracle password expires - cancel password 180 days limit

463 0 11 0 0

1. Enter sqlplus mode:


Sqlplus / as sysdba;


2. View the validity settings of user passwords (DEFAULT is the default configuration file).


SELECT * FROM dba_profiles WHERE profile='DEFAULT'and resource_name='PASSWORD_LIFE_TIME';


3. Change the password validity period from the default 180 days to "unlimited". After the modification, the database does not need to be restarted, and it will take effect immediately:


ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;


4. Account password change again.
Alter the user username identified by original password.


5. Log in with the modified user and unlock if the message 'ORA-28000: The user has been locked'


Alter user db_user account unlock;


Commit;


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.