Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • rm_backup_arch_file.ksh Linux/Unix
  • Good Doc 28-JUN-2006 Oracle
  • Good links for x$ tables in oracle. Oracle
  • top 10 AI news today Uncategorized
  • create a folder in multiple places Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • runsql_once.ksh Linux/Unix
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Oracle 10g Wait Model Oracle
  • Formatter Explain plan Output 1 Oracle
  • TNSNAMES entries details Oracle
  • Rman Notes -1 Oracle

Restoring a user’s original password 1051962.101

Posted on 05-Jun-2009 By Admin No Comments on Restoring a user’s original password 1051962.101

WARNING

=======

The method described in this article is not officially supported by development,

therefore when you get errors using this procedure support cannot file a bug for it.

Please make no mistakes when setting the HEX value with the VALUES keyword as bad

values may cause internal errors. This undocumented feature exists to support

export / import and retain the original passwords.

Problem Description:

====================

How can you restore a users original password ?

Solution Description:

=====================

With the output of dba_users you can restore a user’s old password by

issuing the following:

alter user identified by values ‘‘;

For example:

============

SQL> create user test identified by test

2 default tablespace users temporary tablespace temp;

User created.

SQL> select username, password from dba_users where username= ‘TEST’;

USERNAME PASSWORD

———- ——————————

TEST CDC423BEB32B1812

SQL> alter user test identified by test1;

User altered.

SQL> select username, password from dba_users where username= ‘TEST’;

USERNAME PASSWORD

———- ——————————

TEST 22F2E341BF4B8764

SQL> alter user test identified by values ‘CDC423BEB32B1812’;

User altered.

SQL> connect test/test

Connected.

Solution Explanation:

=====================

To do this you would need a spool of dba_users taken before the password was

changed.

Oracle, SQL scripts

Post navigation

Previous Post: ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME
Next Post: kill all processes from specific user in solaris.

Related Posts

  • Temporary Tablespace Information and restriction. Oracle
  • switchover for primary database Oracle
  • initUOCIOTTO.ora Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • ORA-3136 Oracle
  • DBMS_STATS Metalinks Notes Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • on IBM-AIX for display Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • dbinv.sql Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • crontab syntax Linux/Unix
  • Load testing on Oracle 19C RAC with HammerDB Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme