oracle change user password,How to change the password of SYSMAN user ? — oracle-tech

To change the Sysman password:

1. Stop the OMS instances that are associated with the repository

a. opmnctl stopall

2. Change the sysman password in the database:

a. Logon to sqlplus as a dba user

b. Issue the command: alter user sysman identified by newpassword;

c. Exit Sqlplus

3. On each management server host, cd to the OMS $ORACLE_HOME/sysman/config directory

a. backup the emoms.properties file

b. edit the emoms.properties file and modify the parameters;

eml.mntr.emdRepPwd=new_password

oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE

NOTE: When you restart the OMS, the FALSE setting will change to TRUE and the password will become encrypted in the file

4. Still on Management Repository host, cd to the AGENT_HOME/bin and stop the agent:

./emctl stop agent

5. Next, cd to the AGENT_HOME/sysman/emd directory

a. Edit the targets.xml file and modify the oracle_emrep target definition with the following in bold:

..

..

b. Save the file. The TRUE value will change to FALSE and the newpassword will become encrypted when you restart the Agent.

6. Issue the command (from the Agent O_H/bin):

./emctl start agent

7. Restart each of the OMS's

emctl start oms

8.Start the OMS instances that are associated with the repository

opmnctl startall

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值