ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle 10g em 中如何修改dbsnmp用户密码

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

原创 Linux操作系统 作者:paulyibinyi 时间:2010-05-25 14:34:54 0 删除 编辑

修改dbsnmp密码

1.    停止em

Emctl stop dbconsole 

 

2.    检查是否已经停掉em

Emctl status dbconsole

 

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

 

Sqlplus / as sysdba

alter user dbsnmp identified by  ;

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

        SQL> connect dbsnmp/[@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:
        
        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:
          
          Check that the password VALUE is encrypted
          Check that the value of ENCRYPTED is TRUE

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-663620/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
学习数据库

注册时间:2007-12-11

  • 博文量
    907
  • 访问量
    6894393