HP Systems Insight Manager 5.3 Command Line Interface reference guide

Remove an existing password.
-l
List the passwords stored by HP SIM.
-g
Start the mxpassword GUI.
IMPORTANT: An error might occur if you use -g in a non-graphical environment (such
as a telnet session).
-x key [ =value ]
The key is the name of the password, and the value is the new value of the password in
text format.
-n
Create a new server certificate. HP SIM and the System Management Homepage must not
be running when you run mxpassword with the -n option. All SMH agents that trust HP
SIM must be re-configured after you run mxpassword -n.
-c
Check for the existence of a keystore of passwords stored by HP SIM.
-f filespec
Enter passwords from a file. The file must use the format password1=password...
Return values
MeaningValue
Successful completion.0
An error occurred during operation.>0
Examples
Example 1
To list all the passwords stored by HP SIM, enter mxpassword -l.
Example 2
To change the current SSH password to
scoobydoo2
, enter mxpassword -m -x
MxSshKeyPassword=scoobydoo2.
Example 3
To change the current database password to
rocketboy2
, enter mxpassword -m -x
MxDBUserPassword=rocketboy2.
Example 4
To remove the current SSH password, enter mxpassword -r -x MxSshKeyPassword.
Example 5
To remove the current database password, enter mxpassword -r -x MxDBUserPassword.
Example 6
To add, modify or remove passwords using a graphical user interface, enter mxpassword -g.
70 Command descriptions