批量生成创建用户的命令;
SQL> select ' alter user ' || NAME || ' identified by values ''' || nvl(b.password,b.spare4) || ''';'
2 from sys.user$ b ,dba_users a
3 where B.NAME = A.USERNAME;
'ALTERUSER'||NAME||'IDENTIFIEDBYVALUES'''||NVL(B.PASSWORD,B.SPARE4)||''';'
----------------------------------------------------------------------------------------------------
alter user SYSTEM identified by values '2D594E86F93B17A1';
alter user SYS identified by values '8A8F025737A9097A';
alter user SYSBACKUP identified by values 'S:0000000000000000000000000000000000000000229CFFCF2E3971
1F43C6;T:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000016DCCDE28526BD82FA66481E84D24B8B';
alter user SYSRAC identified by values 'S:00000000000000000000000000000000000000001914850E4E50E1DD6
AF7;T:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000F679664D8CD59A1584F90F3539779851';
alter user OJVMSYS identified by values 'S:00000000000000000000000000000000000000001A989EF330631AC7
alter user SYSKM identified by values 'S:0000000000000000000000000000000000000000C0F585D26BC5CA0258
82;T:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000003444AB23942569D3CF1B135E5677FF26';
alter user OUTLN identified by values 'S:00000000000000000000000000000000000000000BE73A354C4081125B
9A;T:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000EF0236F490C9E04D932BE33489127045';
'ALTERUSER'||NAME||'IDENTIFIEDBYVALUES'''||NVL(B.PASSWORD,B.SPARE4)||''';'
----------------------------------------------------------------------------------------------------
alter user SYS$UMF identified by values 'S:00000000000000000000000000000000000000000D8C01CF538F2FA4
EEB7;T:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000F6BF6A5CB0FF7E4D0FF7CF3ACA55140D';
alter user SYSDG identified by values 'S:0000000000000000000000000000000000000000A723572098C0F47EB0
63;T:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000060B89ABC0E52011C36523825C2A6A385';