Oracle Password Expiration

I will explain Oracle Password Expiration in this post. Sometimes you can get ” ORA-28002 The Password Will Expire in 7 Days Errors ” error when you log in database with application user.

 

Oracle Password Expiration

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';


Or you can set new password for the user.

alter user username identified by new_password;

 

 

Thus, Related Oracle User password lifetime will be unlimited and it will not be expired.

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

One comment

  1. Merhaba, Oracle 19 c’de kullanabi.liyor muyuz?

Leave a Reply

Your email address will not be published. Required fields are marked *