11g和12c OEM修改sysman密码
1.关于12c(Cloud Control)的sysman的密码变更方法,您可以参考下面的手册和Note。
https://docs.oracle.com/cd/E24628_01/doc.121/e36415/sec_features.htm#EMSEC12918
Changing the SYSMAN User Password
or
EM 12c : How to Modify the Password for SYSMAN and other Enterprise Manager 12c Cloud Control Users in the OMS Configuration and in the Repository Database ( Doc ID 1365930.1 )
-
停止OMS。
% cd <OMS_HOME>/bin
% emctl stop oms -
变更SYSMAN密码。
% cd <OMS_HOME>/bin
% emctl config oms -change_repos_pwd -
停止Admin Server,再启动OMS。
% cd <OMS_HOME>/bin
% emctl stop oms -all
% emctl start oms
2.关于11g(Grid Control)的sysman的密码变更方法,您可以参考下面的Note。
How to Change the Password of SYSMAN User in Enterprise Manager 10g and 11g Grid Control ( Doc ID 270516.1 )
Steps for Changing the SYSMAN Password in 10.2.0.5 and 11.1 Grid Control
1.变更SYSMAN密码。
cd <OMS_HOME>/bin
emctl config oms -change_repos_pwd -change_in_db
or
emctl config oms -change_repos_pwd -change_in_db -use_sys_pwd -sys_pwd -new_pwd
注意:使用-sys_pwd 的时候,是使用sys用户的密码。
2.再启动OMS。
% emctl stop oms -all
% emctl start oms
注意:
另外,在Grid Control 11.1用emctl config oms -change_repos_pwd修正sysman密码后,
在画面上需要用下面的手顺设定【Repository password】的密码。
-
登录到Grid Control。
-
点击画面右上的【Setup】。
-
点击画面上部的【Management Services and Repository】项目。
-
点击画面下部的【Monitoring Configuration】。
-
在【Repository password】设定新的sysman密码,并点击【OK】进行保存。