Temporarily change user password


1. Get the password string of user

SQL> select name, password from sys.user$ where name=’ANAR’;
NAME                           PASSWORD
 ——————————                  ——————————
 ANAR                       90EEB9F64DD6C1BF

2. Change the password of user

 SQL> alter  user ANAR identified by ANAR;

 3. Restore the password of the user

SQL> alter  user ANAR identified by values ’90EEB9F64DD6C1BF’;
User altered.

SQL> select name, password from sys.user$ where name=’ANAR’;
NAME                           PASSWORD
 ——————————                    ——————————
 ANAR                       90EEB9F64DD6C1BF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: