Recreate the password file for the ASM instance as follows:
1. Set the ORACLE_HOME and ORACLE_SID to the ASM instance
2. connect /as sysdba from sqlplus
3. If the value of the "remote_login_passwordfile" parameter in the pfile or spfile is EXCLUSIVE, you must shutdown your instance
4. RENAME or DELETE the existing password file PWD
5. Issue the command:
WINDOWS:
orapwd file=
UNIX:
orapwd file=
In 11.2 you can use asmcmd to change the password for single instance environment as follows
$ export ORACLE_SID=+ASM
$ asmcmd
ASMCMD> passwd sys
Enter old password (optional): ******
Enter new password: ******
In Cluster environment
ASMCMD> orapwusr --modify --password sys
Enter password: ******
ASMCMD> exit
NOTE: This is not applicable for SYSASM privilege.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24585765/viewspace-1193185/ ,如需转载,请注明出处,否则将追究法律责任。