3
、转到
$ORACLE_HOME/(host)_(sid)/sysman/cong
目录下
a.
把
emoms.properties
另存为
emoms.properties.old
b.
修改
emoms.properties
文件
找到
oracle
.sysman.eml.mntr.emdRepPwd=
把等于后的加密字串替换成刚才更改的
密码
oracle123;
找到
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
把
TRUE
换成
FALSE
。
重启后可以用了,再打开
emoms.properties
发现刚才修改的内容已被加密。
DBSNMP
密码修改
1.Stop dbconsole
2.set new password for dbsnmp
3.test dbsnmp new password by connect
4.edit targets.xml
Search for the line:
<Property NAME="UserName" VALUE="6f5848a4f53a2d0a" ENCRYPTED=
"TRUE"/>
<Property NAME="password" VALUE="829e1a25401de489" ENCRYPTED=
"TRUE"/>
Replace the encrypted value by the new password value
Replace TRUE by FALSE
5.restart dbconsole
SYSMAN
密码修改
1
、 停止
dbconsole
[oracle@abcca2210028 ~]$ emctl stop dbconsole
查看状态,确认
dbconsole
已经停止
[oracle@abcca2210028 ~]$ emctl status dbconsole
2
、修改
sysman
用户的密码,我把密码改成
oracle123
[oracle@abcca2210028 ~]$ sqlplus / as sysdba
SQL> alter user sysman identi?ed by oracle123;
解锁用户
SQL> alter user sysman account unlock;
确认密码已修改
SQL> conn sysman/oracle123@csc
Connected.
3
、转到
$ORACLE_HOME/(host)_(sid)/sysman/con?g
目录下
a.
把
emoms.properties
另存为
emoms.properties.old
评论