Resolve ORA-28002: Password expires 7 days after the method

Source: Internet
Author: User

Description of the phenomenon:
Landing Oracle 11g
Tip error:ora-28002:the Password would expire within 7 days

Alarm information:
error:ora-28002:the password would expire within 7 days

Reason Analysis:

The code is as follows Copy Code
SELECT * from Dba_profiles s WHERE s.profile= ' DEFAULT ' and resource_name= ' password_life_time ';
oracle11g

"password_life_time=180 days " is set in default profile in the defaults. And 10g? Previous versions of Oracle remain silent??? nlimited


Solution:
1, view the user's proifle is that, is generally default:

The code is as follows Copy Code
Sql>select username,profile from Dba_users where username= ' infdb ';

2. View password expiration settings for the specified profile (such as default):

The code is as follows Copy Code
Sql>select * from Dba_profiles s WHERE s.profile= ' DEFAULT ' and resource_name= ' password_life_time ';

3, the password will expire from the default 180 days to modify to "unrestricted":

The code is as follows Copy Code
Sql>alter profile DEFAULT LIMIT Password_life_time Unlimited;

4, after the modification, has not been prompted to ORA-28002 warning users will not encounter the same hint;
The user who has been prompted must change the password again, for example:

  code is as follows copy code
   $ Sqlplus/as SYSDBA
    sql> alter user WAPGW identified by  < original password

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.