ASM instance modify SYS password

Modify the ASM instance SYS user password

How To Change ASM SYS PASSWORD ? (文档 ID 452076.1)    

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]

SOLUTION
The password should be the one provided when the password file was created,also
REMOTE_LOGIN_PASSWORDFILE should be
set to EXCLUSIVE on all instances. If you want to change the password then you would need to recreate the password file using the orapwd utility 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<SID>.ora( In Windows) / orapw<SID> ( in UNIX) 5. Issue the command: WINDOWS: orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password> UNIX: orapwd file=<ORACLE_HOME>/dbs/orapw<SID> password=<sys_password> The passwordfile can be recreated for ASM while ASM instance is up. Usually for normal
DB instances, we recommended that DB instances be shutdown before changing the passwordfile. 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: ****** The Cluster Environment the In the ASMCMD > orapwusr the --modify - password SYS the Enter password: ****** the ASMCMD > Exit NOTE: This IS Not applicable for the SYSASM Privilege. If the parameter is shared ASM instance, the need to close the ASM instance, the default is non-shared. 10. Therefore, the actual 2.0 . 5 after the modified ASM instance RAC environment SYS password, DB node 1 close, close asm instance, sys orapw modify the password, a start node asm, DB, the operation is repeated after two nodes. If 11g, a single node can use asm instance the ASMCMD > the passwd SYS; the RAC using the ASMCMD > SYS orapwusr the --modify --password

ASMCMD> orapwusr --modify --password sys
Enter password: *********

$ sqlplus sys/oracle123 as sysdba

SQL> 

 

Guess you like

Origin www.cnblogs.com/lvcha001/p/11279642.html