Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Password Changes
Sounds like you had better fess up and ask the user what it is ;-)
If you know ahead of time that this is what you want to do, there is an old trick to change it and then change it back to the original when done. I just tried it on 8.1.7 and it still works:
col password old_value pw10
select password from dba_users where username = upper('&1');
alter user &1 identified by temp1;
Open another sqlplus sessions and logon using temp1 as the password. When you're done, change it back to the original password from the original session:
alter user &1 identified by values '&pw10'; Mike
>From: Jared.Still_at_radisys.com
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Re: Password Changes
>Date: Thu, 06 Dec 2001 16:36:59 -0800
>
>
>
>It can be seen in dba_users. The table is sys.user$.
>
>Once you've changed it, the old value is gone for good.
>
>Jared
>
>
>
>
>
>
> "Burton, Laura
> L." To: Multiple recipients of
>list ORACLE-L <ORACLE-L_at_fatcity.com>
> <BurtonL_at_prism cc:
> plus.com> Subject: Password Changes
> Sent by:
> root_at_fatcity.c
> om
>
>
> 12/06/01 10:29
> AM
> Please respond
> to ORACLE-L
>
>
>
>
>
>
>When you alter a user's password, what table does it update?
>
>
>I need to 'restore' a password for a user back to what it was before I
>changed it, but do not know what it was.
>
>
>Any ideas?? Can this be done?
>
>
>Thanks,
>Laura
>
>
>
>
>
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author:
> INET: Jared.Still_at_radisys.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mike Killough INET: mwkillough_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Dec 07 2001 - 13:09:20 CST
![]() |
![]() |