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: How to show password?

Re: How to show password?

From: fumi <fumi__at_tpts5.seed.net.tw>
Date: Tue, 24 Nov 1998 19:28:45 +0800
Message-ID: <73e76n$i2u$1@news.seed.net.tw>


Peter Lewis ¼¶¼g©ó¤å³¹ <365A8141.4FC0E5E4_at_bgs.ac.uk>...
>A more helpful answer (perhaps...):
>select username, password from dba_users
>where username = 'XXX'
>/
>Username Password
>-------- ----------------
>XXX ABABABABABABABAB
>
>This will give you the encoded password for user xxx. You can set this
>same password for user yyy using:-
>alter user yyy identified by values 'encoded-password-string';
>where 'encoded-password-string' is the value returned from the first
>query above.
>
>Hope this helps.

No. Oracle's security mechanism uses both USERNAME and PASSWORD as encrption source text.
If you do so, the user yyy can't login any more. The following scrip shows it:

create user xxx identified by centaurus; create user yyy identified by centaurus; select username, password from sys.dba_users where username in ('XXX', 'YYY');

USERNAME                       PASSWORD
------------------------------ ------------------------------
YYY                            42579FA24408BCBD
XXX                            FD2F836769456378



Received on Tue Nov 24 1998 - 05:28:45 CST

Original text of this message

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