How to modify Dbsnmp User Password in Oracle 10g em

Source: Internet
Author: User
Modify

Dbsnmp

Password


1.



Stop em

Emctl stop dbconsole

 


2.



Check if Em has been stopped

Emctl status dbconsole

 

3.



Use sys
User Login sqlplus
, Use the command to change the password

 

Sqlplus/As sysdba

alter user dbsnmp identified by <new_password> ;

4.



Verify that the password has been modified

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

 

5.



Modify
Targets. xml
File


Go to the $ ORACLE_HOME/host_sid/sysman/EMD directory.
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
        
Enter the new password in value.
Change true in encrypted to false.
 

6.





Start em





Emctl
Start dbconsole





 

7.





Check
Targets. xml
File
Is the password encrypted?



         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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.