ORA-28001: the password has expired scott/tiger

Source: Internet
Author: User

ORA-28001: the password has expired scott/tiger

When Oracle 11 is used today, scott, the default account in sqlplus, is used to log on. An error is reported and cannot be logged on.

Solve these problems:

1. The account scott is in the unlocked status. -- Of course, he will not report this error

2,

The password for Oracle11g has expired.

Cause: it is because "PASSWORD_LIFE_TIME = 180 days" is set in the default profile in oracle11g by default.

3,

C: \> sqlplus/as sysdba

View the password validity period settings of the specified profile (such as default:

SQL> select * from dba_profiles where profile = 'default' and resource_name = 'password _ LIFE_TIME ';

4. If the time limit is 180 days, perform the following operations and change it to an indefinite period:

SQL> alter profile default limit password_life_time unlimited;

SQL> commit;

5. If not, here is a simple method. Change the password to a new password, and then use the password command to restore the original password.

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.