Changing the Oracle VM Manager User Password

The default username admin allows a user to log in to the Oracle VM Manager Web UI. Usually, you would set the password for this user when you install Oracle VM Manager.

By default, the Oracle VM Manager user has the same password as the OracleSystemUser and the weblogic users. To secure your environment, you are recommended to change the password for the Oracle VM Manager user as soon as possible especially if you intend to share the Oracle VM Manager user credentials.

To change the password for the Oracle VM Manager user, start an ssh session to the Oracle VM Manager host as the root user, then run the ovm_admin command to reset the admin password: (follow the prompts to change the user password.)

# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --modifyuser
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the username : admin
Please enter the current password : 
Please enter a new password for admin (minimum 8 chars. with one numeric/special char.) :
Please re-enter the password : 
Please enter the password for weblogic : 

Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell 
Type help() for help on available commands
Connecting to WebLogic server ...
Connected ...
Modifying user 'admin' ...
Modified user 'admin' successfully ...
Exiting...

As an alternate, you could perform the entire task on the command-line, with the following sysntax:

ovm_admin --modifyuser <username> <old_password> <new_password>

For example:

cd /u01/app/oracle/ovm-manager-3/bin
# ./ovm_admin --modifyuser admin my0ldpass n3Wpassw0rD

Best practices indicate you should create an individual user account for each administrator that access the Oracle VM Manager. If this is desired, you can use the following syntax to create a new user:

ovm_admin --createuser <username> <password>

For example:

# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --createuser
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the username : mc84838
Please enter the password for mc84838 (minimum 8 chars. with one numeric/special char.) : 
Please re-enter the password : 
Please enter the password for weblogic : 

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to WebLogic server ...
 
Connected ...
Creating user 'mc84838' ...
Created user 'mc84838' successfully ...
Exiting...
Reference: