oracle 10g em 中如何修改dbsnmp用户密码

 

修改dbsnmp密码

1. 停止em

Emctl stop dbconsole

2. 检查是否已经停掉em

Emctl status dbconsole

3. 用sys用户登录sqlplus,用命令修改密码

Sqlplus / as sysdba

alter user dbsnmp identified by <new_password> ;

4. 验证密码是否已经修改

       SQL> connect dbsnmp/<new_password>[@database_alias]

5. 修改targets.xml文件

进入到$ORACLE_HOME/host_sid/sysman/emd目录
5.1 cp targets.xml targets.xml.orig
      5.2 Edit the file targets.xml with your favorite text editor
         (wordpad is recommended on Windows platform)
        Search for the line:
       <Property NAME="password" VALUE="<encrypted_string>" ENCRYPTED="TRUE"/>
       Replace the encrypted value by the new password value
       Replace TRUE by FALSE
          Value里面输入新密码
         ENCRYPTED里面的true改为false

6. 启动em

Emctl start dbconsole

7. 检查targets.xml文件密码是否已经加密等

         Edit the file targets.xml
          Search for the line:
         <Property NAME="password" VALUE="<encrypted_string>" ENCRYPTED="TRUE"/>
         Check that the password VALUE is encrypted
         Check that the value of ENCRYPTED is TRUE
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值