How To Unlock a User in Oracle

To unlock a user in Oracle, you need to follow these steps:

   1. log in to the Oracle Database as a SYS user.

   2. use ALTER USER statement to unlock the user:

       ALTER USER <username> IDENTIFIED BY <password> ACCOUNT UNLOCK;

NOTE:

if you unlock an account without resetting the password, then the password remains expired, therefore, the IDENTIFIED BY password clause is necessary. 

The first time the user logs in to the Oracle Database, he needs to change his password.


Comments

Popular posts from this blog

[FATAL] [DBT-10503] Template file is not specified

Resolving ORA-10635 and ORA-39171 Errors During BLOB Tablespace Maintenance

How to resolve RMAN-06035: wrong version of recover.bsq, expecting 11.2.0.4, found 11.2.0.2