惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
H
Help Net Security
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
I
InfoQ
SecWiki News
SecWiki News
T
Tailwind CSS Blog
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
M
MIT News - Artificial intelligence
S
Schneier on Security
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The Cloudflare Blog
Recent Announcements
Recent Announcements
Security Latest
Security Latest
G
GRAHAM CLULEY
IT之家
IT之家
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
腾讯CDC
Google DeepMind News
Google DeepMind News
V
V2EX
S
Securelist
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - 叶小钗
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure

博客园 - Shark Xu

我的英雄梦和家国情怀——写于2021年国庆前夕 幻方算法 自己制作的粉碎机批处理程序 Ubuntu 16.10 server 相关 android sdk manager 假如不能从官方下载或者很慢,可以参照下面的网址 HttpModule生命周期示意图 Windows 2012 安装 .net framework 3.5 在Windows 2008/2008 R2 上配置IIS 7.0/7.5 故障转移集群 11G RAC 中 OCR 及Voting Disk 相关操作 RHEL 6 或者 Oracle Linux 6, 不关机识别新添加的scsi硬盘 在Window下安装Oracle 12C Cloud Control Agent 在Oracle Linux Server release 6.4下配置ocfs2文件系统 whoami 和 Who am i 手动升级11.2.0.1的rac数据库到11.2.0.4 oracle 11G rac 11.2.0.1 打补丁9413827 oracle 11g 使用物化视图远程增量刷新数据 ORACLE 11.2.0.4 OCR VOTING DISK 模拟恢复场景 Oracle Enterprise Linux 6.4 下配置vncserver Oracle Enterprise Linux 6.4 下挂载ISCSI 设备
如何修改 EM12c 中 SYSMAN 用户的密码?
Shark Xu · 2014-03-26 · via 博客园 - Shark Xu

以下内容全部转自:http://www.chenjunlu.com/2013/04/how-to-modify-the-password-for-sysman-of-em-12c-cloud-control/

原作者如有意见,本人立即删除!

If the current SYSMAN password is known:

1. Stop all the OMS:

$ cd <OMS_HOME>/bin
$ ./emctl stop oms

Execute the same command on all the OMS machines including the primary OMS machine. Do not include ‘-all‘ as the Admin Server needs to be up during this operation.

2. Modify the SYSMAN password:

$ cd <OMS_HOME>/bin
$ ./emctl config oms -change_repos_pwd

Note:

  • The above command will prompt you for the current password of the SYSMAN user and the new password.
  • The password will be modified at the Repository Database as well as the WLS Credential store and the monitoring credentials for the ‘OMS and Repository’ target.
  • Along with the SYSMAN password, this command will modify the password for the ALL the EM users (SYSMAN_MDS, BIP, SYSMAN_OPSS, SYSMAN_APM, SYSMAN_RO, MGMT_VIEW) created in the Repository Database.

Example output:

$ ./emctl config oms -change_repos_pwd
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 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…
Successfully updated Repository password in Credential Store.
Restart all the OMSs using ‘emctl stop oms -all’ and ‘emctl start oms’.
Successfully changed repository password.

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:

$ cd <OMS_HOME>/bin
$ ./emctl stop oms -all
$ ./emctl start oms

If the current SYSMAN password is unknown:

1. Stop all the OMS:

$ cd <OMS_HOME>/bin
$ ./emctl stop oms

Execute the same command on the primary OMS machine as well. Do not include ‘-all’ as the Admin Server needs to be up during this operation.
If the version of OMS is 12.1.0.1 and password is manually changed at the Database level, apply Patch 13697830 on OMS Home and then run the command below to get the password updated in all configurations.
2. Modify the SYSMAN password:

$ cd <OMS_HOME>/bin
$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <sys user password> -new_pwd <new sysman password>

Note:

  • The ‘-use_sys_pwd’ is used to connect to the database as a SYS user and modify the sysman password in the Repository database.
  • The current sysman password is not prompted for and only the new password needs to be entered. This will allow the reset of the old password to the new password entered.
  • The password will be modified at the Repository Database as well as the WLS Credential store and the monitoring credentials for the ‘OMS and Repository’ target.
  • Along with the SYSMAN password, this command will modify the password for the ALL the EM users (SYSMAN_MDS, BIP, SYSMAN_OPSS, SYSMAN_APM, SYSMAN_RO, MGMT_VIEW) created in the Repository Database.

Example output:

$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle123 -new_pwd oracle12
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.

Changing passwords in backend …
Passwords changed in backend successfully.
Updating repository password in Credential Store…
Successfully updated Repository password in Credential Store.
Restart all the OMSs using ‘emctl stop oms -all’ and ‘emctl start oms’.
Successfully changed repository password.

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:

$ cd <OMS_HOME>/bin
$ ./emctl stop oms -all
$ ./emctl start oms