Oracle 11g Error: ora-28002:the password would expire within 7 days solution

Source: Internet
Author: User

ERROR: ora-28002:the password'll expire within 7 days

The error is to prompt password to expire, there are two ways to solve the problem.

A. changes have been password The user's error

It's been reported. Password expiring account must be changed again password (DBA authority required)

Take system users as an example

/  as SYSDBA Alter User  by Root;

Re-connect the data will never appear password expired things.

If it is another user, then use other username.

Alter User  by Tiger;  
two.set Password to be a perpetual only period

1. View the profile settings for the user:

SELECT  from Dba_users;  

The profile settings for the general user are default.

2. Review the Password_life_time settings in the system profiles.

SELECT *  fromDba_profiles sWHERES.profile='DEFAULT'  andResource_name='Password_life_time';

Profile Resource_name RESOURCE LIMIT

------------------------------------------------------------------------------- -------------------------------
default                         password_life_time               PASSWORD                 180dys

==============================================================

3. Change the Password_life_tim setting in Dba_profiles to ulimited.

ALTER DEFAULT LIMIT Password_life_time UNLIMITED;  

After the change is set to take effect immediately, do not need to restart the database, at this time password never expire.


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.