Recently the Department of testing staff found a problem, said the Oracle user password prompt to expire, ask me what happened?
The discovery found that the Oracle user password is only valid for 180 days, communicating with the responsible person and deciding that the change user password never expires.
Workaround:
The first method: Log in with a user with DBA authority
1, check the profile of the user, by default all users of the profile are using the default
Select T.username,t.profile from Dba_users t;
2, check the user's default profile validity period
Select T.limit from Dba_profiles t where t.profile= ' DEFAULT ' and t.resource_name= ' password_life_time ';
3. Change the validity period of all users
Alter profile default limit Password_life_time unlimited;
The rear unlimited can be a number unit for days.
4. Verification
Select Username,expiry_date from Dba_users
The value of expiry_date in the result of the query should be null: Indicates that the user password never expires.
Second method: Create profile and apply to a user
1. Create profile
Create profile profile_name limite password_life_time unlimited;
2. Apply to Users
Alter user user_name profile Profile_name;
Create user user_name identified by password profile profile_name;
This article is from the "Simon Qing his Little Uncle" blog, please be sure to keep this source http://718693.blog.51cto.com/708693/1566905
Resolving Oracle User Expiration issues