Oracle error, ORA-28001: password has expired

Source: Internet
Author: User

oracle11g The default password expiration limit when creating a user is 180 days (that is, 6 months) and the user cannot log on if the user password has not been modified for more than 180 days. Oracle Corporation has introduced this default feature in 11G for database security by default, but this default feature is easily overlooked by DBAs or developers, which can occur if the password has not been modified for 180 days.

The workaround is to use the following SQL statement

SELECT * from Dba_profiles WHERE profile= ' DEFAULT ' and resource_name= ' Password_life_time '

The validity period of the password is set, and the Limit field is the valid number of days.

The limit for removing the 180-day password lifetime can be turned off by the following SQL statement

ALTER profile DEFAULT LIMIT password_life_time UNLIMITED

As on the SQL statement, the password validity period default value of 180 days is modified to "unlimited". However, for database security reasons, it is not recommended to set the Password_life_time value to unlimited

Oracle error, ORA-28001: password has expired

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.