Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • send email from unix mailx with attachment. Linux/Unix
  • How to start CRS manually Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • standard Monitoring – 1 Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • Jai Shree Ram Oracle
  • For Search and replace unix command. Linux/Unix
  • Difference between SYNC and AFFIRM Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • ORA-3136 Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • get_vmstat.ksh for Solaris Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Absolute file number and relative file number Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix

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

  • find_longsql.sql Oracle
  • Optimizer SORT Operations Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Specify the Rollback segment to use in Transaction Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • create PLAN_TABLE command. Oracle
  • scripts to take listener.log backup Linux/Unix
  • Oracle 11g Training on 29JAN1010 Oracle
  • Drop database in Oracle 10g Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme