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: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> >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 <[EMAIL PROTECTED]> > <BurtonL@prism cc: > plus.com> Subject: Password Changes > Sent by: > [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > >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: [EMAIL PROTECTED] (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). _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mike Killough INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).