Sometimes you can get ” ORA-28002 The Password Will Expire in 7 Days Errors ” error when you log in database with application user.
So How to Fix ORA-28002 The Password Will Expire in 7 Days Errors ?
To solve this error you can change User Profile Password Reuse time and Life time to the unlimited like following.
alter profile DEFAULT limit PASSWORD_REUSE_TIME unlimited; alter profile DEFAULT limit PASSWORD_LIFE_TIME unlimited;
Check Oracle user account status and expiry date like following.
select username, account_status, EXPIRY_DATE, profile from dba_users where username='DEVECI';
Existing user account status and expiry_date will not change, so you should change user password with original hash value to activate these changes.
To take hash password of user, execute following script.
SELECT password, spare4 FROM SYS.USER$ WHERE name = 'DEVECI'; 4CD10ECBE9E0C21A
You should change related user password with its hash value like following.
ALTER USER DEVECI IDENTIFIED BY VALUES '4CD10ECBE9E0C21A';
Thus, Related Oracle User password lifetime will be unlimited and it will not be expired.