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

Enabling Transparent Data Encryption (TDE) in Oracle RAC on ODA with Data Guard – The Correct and Secure Approach

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

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