ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle 10g em db control中如何修改sysman密码

oracle 10g em db control中如何修改sysman密码

原创 Linux操作系统 作者:paulyibinyi 时间:2010-05-27 15:13:15 0 删除 编辑

修改sysman密码

1.    停止em

Emctl stop dbconsole 

2.    检查是否已经停掉em

Emctl status dbconsole

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

Sqlplus / as sysdba

alter user sysman identified by  ;

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

     SQL> connect sysman/[@database_alias]

 

5.      修改emoms.properties文件

进入到$ORACLE_HOME/host_sid/sysman/config目录
5.1 cp emoms.properties emoms.properties.orig
        5.2 Edit the file emoms.properties
         a. Search for the line beginning with:
          oracle.sysman.eml.mntr.emdRepPwd=
          Replace the encrypted value by the new password value
         b. Search for the line:
          oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
          Replace TRUE by FALSE
         
         oracle.sysman.eml.mntr.emdRepPwd里面输入新密码
         oracle.sysman.eml.mntr.emdRepPwdEncrypted=true的值改为false
 

6.      启动em

      Emctl  start dbconsole

7.      检查emoms.properties文件 密码文件是否已经加密等

         Edit the file emoms.properties
         7.1 Search for the line beginning with:
           oracle.sysman.eml.mntr.emdRepPwd=
           Check that the password is encrypted
         7.2 Search for the line beginning with:
          oracle.sysman.eml.mntr.emdRepPwdEncrypted=
          Check that the value is TRUE

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

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

注册时间:2007-12-11

  • 博文量
    907
  • 访问量
    6894428