全部博文(389)
分类: Oracle
2013-08-12 00:31:13
如何修改 EMC 12C的sysman密码
经常会忘记sysman的密码,可以通过以下方法来重置
1,先停止oms
$WLS/oms/bin/emctl stop oms
2,更改密码
[oracle@c12 bin]$ $WLS/oms/bin/emctl config oms -change_repos_pwd
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter Repository User's Current Password :
Enter Repository User's New Password :
Changing passwords in backend ...
Passwords changed in backend successfully.
Updating repository password in Credential Store...
如果原来的sysman密码也不记得,需要数据库的sys密码来重置sysman的密码
[oracle@c12 bin]$$WLS/oms/bin/emctl config oms -change_repos_pwd -use_sys_pwd
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter SYS Password :
Enter Repository User's New Password :
Changing passwords in backend ...
Passwords changed in backend successfully.
Updating repository password in Credential Store...
3,重启oms ,搞定
$WLS/oms/bin/emctl start oms