CHANGE SYSMAN PASSWORD ON EM13C
December 6, 2016 4 Comments
You will need sys password to reset sysman password.
If you don’t remember sys password you should already know how to change it from repository server… If you still thinking , ok then let’s write this step also:
- Connect to the database(repository) server via ssh.
- Describe ORACLE_SID and ORACLE_HOME variables.
- Connect to the database without password and with sysdba privilege:
sqlplys / as sysdba
- Change sys user password:
alter user sys identified by <sys password>;
…
1. Stop all OMS processes
cd <oms home>/bin
emctl stop oms
2. Change the SYSMAN password:
cd <oms home>/bin
emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <sys password> -new_pwd <new sysman password>
3. Stop the Admin Server on the primary OMS and restart OMS:
cd <oms home>/bin
emctl stop oms -all
emctl start oms
4. Check that oms is up and running:
cd <oms home>/bin
emctl status oms -details
That’s it.
Why are you changing sys password in step 4?
Hello, as I’ve mentioned from the beginning, this is the case when you don’t remember sys password also.
Can we get already set sys password instead of setting new password
Hello,
You cannot retrieve a plain-text password, Oracle hashes it and saves in Oracle dictionary tables..
”
Password Hashing
…. Hashing performs a one-way transformation of the password, encrypting it in a way that makes it extremely difficult to reconstruct the original password.”
Source: https://docs.oracle.com/cd/E69533_01/Platform.11-3/ATGPersProgGuide/html/s0506passwordhashing01.html
More information about hash and password can be found here: https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/changes-in-oracle-database-12c-password-hashes/