如何修改 EM12c 中 SYSMAN 用户的密码?
以下内容全部转自: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
如何修改 EM12c 中 SYSMAN 用户的密码?的更多相关文章
- 如何修改DBSNMP和SYSMAN用户的密码
SYSMAN和DBSNMP用户密码过期后OEM无法使用,并报以下错误: SYSMAN用户的密码被加密后存放在不同的地方,这样database control(OMS和agent)可以不用每次访问数据库 ...
- DBSNMP和SYSMAN用户初始密码及正确的修改方式
SYSMAN和DBSNMP跟涉及到Oracle的EM,所以跟其他的用户修改密码方式有所区别. 下面是这两个用户的默认密码和作用说明 DBSNMP DBSNMP The account used by ...
- 何修改WAMP中mysql默认空密码--转
何修改WAMP中mysql默认空密码 http://www.cnblogs.com/hooray/archive/2011/07/23/2114792.html WAMP安装好后,mysql密码是为 ...
- SQL中忘记用户登陆密码该如何修改
1.每个数据库登陆之前都必须先启动它本身的数据服务,SQL数据库也不例外,首先我们要做的是先打开我们的SQL数据服务! 2.随后在我们的开始菜单中找到我们的SQL启动图标,打开即可 3.弹出登录窗体( ...
- 修改docker中mysql登入密码(包括容器内和本地远程登入的密码)
查看docker中正在运行的容器 docker ps 进入MySQL 容器中 sudo docker exec -it cd800a1cd503 /bin/bash 在容器中: /etc/mysql/ ...
- linux中ftp用户登录密码忘记了怎么修改
先来熟悉一下 vsftp 命令: 启动vsftp用命令: 1.service vsftpd start 重启vsftp用: www.111cn.net1.service vsftpd restart ...
- Eclipse中修改git地址、用户、密码
1. 修改Url Window > Preferences > Team > Git > Configuration > Repository Settings 2. 修 ...
- 如何修改Xampp中MySQL的root密码?
MySQL 的“root”用户默认状态是没有密码的,所以在 PHP 中您可以使用 mysql_connect("localhost","root"," ...
- 如何重置Oracle服务器ILOM中root用户的密码
在ILOM中,root用户的缺省密码是changeme. 为了系统的安全性,通常情况下需要修改root密码. 如果忘了密码,可以参考以下步骤重置root密码. 用串口线连接Oracle服务器ILOM ...
随机推荐
- Makefile技术和应用总结
如何学习和运用Makefile 怎么写Makefile?不想讲太多如何如何做.Makefile这东西,公司让一两个人来负责就好了,否则一定是一锅粥.每次看到招聘广告里说,要求懂Makefile,懂Li ...
- NY 269 VF
题目 求1—1000000000之间的数,它的各位数字之和为 s. dp[i][j]表示 i 位数,它的各位数之和为 j 的总个数. 这里假设第 i 位为 k,则前 i - 1 位的和应为 j - k ...
- js与cookie的domain和path之间的关系
1.前言 使用javascript操作cookie我们都经常使用,对cookie不是很了解的话可以看下这篇帖子[javascript操作cookie](http://www.cnblogs.com/D ...
- Linux下which、whereis、locate、find命令的区别
我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索.这些是从网上找到的资料(参考资料1),因为有时很长时间不会用到,当要用的时候经常弄混了,所以放到这里方便使用. w ...
- 如何使用vs将现有的项目或者文件夹(尤其是多层目录的)添加到项目中
困扰我这么久的问题,哎,真心弱爆了! 1.将现有项目或文件夹拷贝到指定目录下 2.解决方案右上有个显示所有文件的按钮 然后选中所有要添加的文件,右击 选择包含到项目中即可
- C语言 队列 顺序结构 实现
一个能够自动扩容的顺序结构的队列 ArrQueue (GCC编译). /** * @brief C语言顺序结构队列的实现 * @author wid * @date 2013-10-30 * * @n ...
- 第十二章:Android数据存储(下)
一.SQLite介绍 提到数据存储问题,数据库是不得不提的.数据库是用来存储关系型数据的不二利器.Android为开发者提供了强大的数据库支持,可以用来轻松地构造基于数据库的应用.Android的数据 ...
- [JS5] 利用onload执行脚本
<html> <head> <title>利用onload执行脚本</title> <SCRIPT TYPE="text/JavaScr ...
- Lingo 做线性规划 - Asset allocation and Portfolio models
Reference: <An Introduction to Management Science Quantitative Approaches to Decision Making, Rev ...
- java5 Lock用法
锁是控制多个线程对共享资源进行访问的工具.通常,锁提供了对共享资源的独占访问.一次只能有一个线程获得锁,对共享资源的所有访问都需要首先获得锁.不过,某些锁可能允许对共享资源并发访问,如 ReadWri ...