日期:2014-05-16  浏览次数:20523 次

orapwd 工具建立密码文件遵守的命名方法

orapwd 工具建立建立的密码文件一定要orapw+实例名吗

?

我在11g10g测试是必须要 orapw+实例名才能登录成功

?

以下是验证过程

?

[oracle@asm dbs]$ rm orapwasm

[oracle@asm dbs]$ orapwd file=orapwdasm password=abcdefg entries=10

[oracle@asm dbs]$ sqlplus /nolog

?

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jul 26 17:24:07 2008

?

Copyright (c) 1982, 2005, Oracle.? All rights reserved.

?

SQL> conn sys/abcdefg@asm as sysdba????????????????????????????????????????????

ERROR:

ORA-01031: insufficient privileges

?

?

SQL> exit??????????????????????????????????????? ???????????????????????????????

[oracle@asm dbs]$ ls

ab_+ASM.dat? hc_+ASM.dat? initdw.ora? lkASM?? orapw+ASM? spfile+ASM.ora

hc_asm.dat?? initasm.ora? init.ora??? lk+ASM? orapwdasm? sqlnet.log

[oracle@asm dbs]$ rm orapwdasm

[oracle@asm dbs]$ ls

ab_+ASM.dat? hc_+ASM.dat? initdw.ora? lkASM?? orapw+ASM?????? sqlnet.log

hc_asm.dat?? initasm.ora? init.ora??? lk+ASM? spfile+ASM.ora

[oracle@asm dbs]$ orapwd file=orapwasm password=abcdefg entries=10

[oracle@asm dbs]$ ls

ab_+ASM.dat? hc_+ASM.dat? initdw.ora? lkASM? ?orapwasm?? spfile+ASM.ora

hc_asm.dat?? initasm.ora? init.ora??? lk+ASM? orapw+ASM? sqlnet.log

[oracle@asm dbs]$ sqlplus /nolog