Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Help with passwords
The script below will generate a script that can be used to restore the userid to its original state.
select 'alter user ' || username || ' identified by values ''' ||
password || '''' || ' default tablespace '
|| default_tablespace ||' temporary tablespace ' || temporary_tablespace ||
' ;'
from sys.dba_users where username = 'supply your username';
G.L.Alink @civ.utwente. To: Multiple recipients of list ORACLE-L nl <ORACLE-L_at_fatcity.com> Sent by: root cc: Subject: Help with passwords 10/24/2001 10:10 AM Please respond to ORACLE-L
Hi all,
I've got a little question, which i can't find simply on metalink.
I've got one user with a not know password and i want to temporary change
it;s password.
I know it is possible to save the hex-key in dba_users.
But how can i change it back to that hex-key?
I need temporary this user account and can change the password, but i want to change it back to the original.
Thx anyway,
Marco
> Marco Alink
> Systeem- en databasebeheerder, Centrum voor Informatievoorziening,
> Universiteit Twente, Postbus 217, 7500 AE Enschede
> telefoon: 053 - 489 2628, fax:053 - 489 2383, http://www.utwente.nl/civ
>
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: G.L.Alink_at_civ.utwente.nl 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: INET: tday6_at_csc.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 Wed Oct 24 2001 - 09:30:26 CDT