Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: connect to another user

Re: connect to another user

From: mkeene <matthew_keeneNOmaSPAM_at_ansett.com.au.invalid>
Date: 2000/05/22
Message-ID: <00222e1c.f94bd06b@usw-ex0104-087.remarq.com>#1/1

In Oracle 8i you can connect as a proxy user (if permitted) so that you can logon as another user without the password. However without this you can still save the user's password, reset it to something you know and then immediately set it back to the previous password. To do this you have to:

SELECT PASSWORD FROM DBA_USERS WHERE USERNAME = 'xxxxxx' ;

ALTER USER xxxxxx IDENTIFIED BY password ;

Connect as user xxxxxx using the password set above, then reset the password using

ALTER USER xxxxxx IDENTIFIED BY VALUES 'sssssssssssssss' ;

where ssssssssssssss is the password that you previously saved.

Obviously, this trick should only be used for good and not for evil.

Received on Mon May 22 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US