The period for changing the Oracle password is unlimited.

Source: Internet
Author: User

The period for changing the Oracle password is unlimited.

Oracle error message ORA-28001: the password has expired, due to new features of Oracle11G, the default password expiration limit for Oracle 11g User Creation is 180 days (6 months ), if the user password is not modified for more than 180 days, the user cannot log on.

Oracle introduces this default function in 11 GB by default for database security. However, this default function is easily neglected by DBAs or developers. Once the password is not modified for 180 days, this problem occurs.

Solution:

Use the following statement to view the proifle

SELECT username, profile from dba_users;

You can use the following SQL statement to query the password validity period settings. The LIMIT field is the password validity period.

SELECT * FROM dba_profiles WHERE profile = 'default' AND resource_name = 'password _ LIFE_TIME ';

When the password is about to expire or has expired, use the following statement to modify the password. After the password is changed, the user can connect to the database normally.

Alter user Username identified by password

To remove the 180-day password lifecycle restriction, use the following SQL statement to disable ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

The above SQL statement changes the default password validity period from 180 days to "unlimited ". For the sake of database security, we do not recommend that you set PASSWORD_LIFE_TIME to UNLIMITED. We recommend that you modify the password of a database user on a regular basis.

Solution to Oracle user password expiration and user lock

Password expired ORA-28002 troubleshooting

ORA-28002 Password Expiration Warning

The ORA-28002 password will expire in 7 days

Oracle input error count modification, user unlock, password expiration

Oracle 11g password expired locked reporting ORA-28000 the account is locked

This article permanently updates the link address:

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.