SQL> connect dbauser/dbapassword@mydatabase
Connected.
SQL> select username,password from dba_users where username = 'TESTUSER';
USERNAME PASSWORD
---------- ------------------
TESTUSER AEB6397C8E7598A7
SQL> alter user TESTUSER identified by temppwd1;
User altered.
SQL> connect testuser/temppwd1@mydatabase
Connected.
SQL> --do some work as testuser
SQL> connect dbauser/dbapassword@mydatabase
Connected.
SQL> alter user TESTUSER identified by values 'AEB6397C8E7598A7';
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario