Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Jai Shree Ram Oracle
  • PLSQL Table Syntax 2 Oracle
  • Oracle Connections expire_time and firewall Oracle
  • Absolute file number and relative file number Oracle
  • SAT Mathematics 10 questions and answer at the end. Uncategorized
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Oracle Data Direct to TAPE Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Nice notes on wait events Oracle
  • Good notes for shared pool Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Small sample shell program Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle

How To Transfer Passwords Between Databases (ref note: 199582.1)

Posted on 22-May-2009 By Admin No Comments on How To Transfer Passwords Between Databases (ref note: 199582.1)

fix:

1) Log on as SYSDBA

2) Create database link between source and target database

3) Create procedure which selects usernames,passwords

from DBA_USERS in source database and inserts usernames,passwords

into target database

Sample SQL-statements

source database:

SQL> select password from dba_users where username=’SCOTT’;

USERNAME PASSWORD

—————————— ——————

SCOTT F894844C34402B67

target database:

Sqlplus> Create user SCOTT identified by values ‘F894844C34402B67’;

Oracle, SQL scripts

Post navigation

Previous Post: note id 373303.1
Next Post: All About oracle password and security from metalink

Related Posts

  • Import and export statements Oracle
  • FGA Part-I Oracle
  • create database syntax Oracle
  • V$transaction notes for finding XID composition. Oracle
  • Drop tempfiles from database Oracle
  • refre.sql for multitenant Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • 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.sh23-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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • sid_wise_sql.sql Further explaination Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Nice notes on wait events Oracle
  • get_vmstat.ksh for Solaris Oracle
  • Configure ssh authentications for RAC Oracle
  • Changing default shell Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme