HP Systems Insight Manager 5.3 Command Line Interface reference guide

NOTE: A node name is not specified when adding default or global credentials. Default credential names
use the format
@defaultN
, where
N
is an automatically assigned numerical indicating usage.
Example 5
To add a default or global credential to the HP SIM database with a specified sign-in protocol for the node
mycomputer.ak.hp.com
, enter mxnodesecurity -a -p sign-in|signin -c username:password
-n mycomputer.ak.hp.com. A sign-in credential is a special independent credential protocol used to
sign into the managed system. If the credential exists in the HP SIM credentials database (based on the
protocol and nodename), then a modify operation is automatically performed on the credential and the
username and password are updated.
NOTE: A node name is not specified when adding default or global credentials. Default credential names
use the format
@defaultN
, where
N
is an automatically assigned numerical indicating usage.
Example 6
To add a default SNMP protocol credential to the node security repository, enter mxnodesecurity -a
-p snmp -c readname:writename. The read community string and the write community string are
required for the SNMP protocol.
NOTE: A node name is not needed when you add default credentials, because default credentials apply
to all nodes. Default credential names use the format
@defaultN
, where
N
is an automatically assigned
numerical value.
Example 7
To modify the username and password of an existing default or global credential with an SSH specified
protocol and a specified nodename of @default3, enter mxnodesecurity -a -p snmp -c
readname:writename.
NOTE: A node name is not needed when you add default credentials, because default credentials apply
to all nodes. Default credential names use the format
@defaultN
, where
N
is an automatically assigned
numerical value.
Example 8
To add credentials to the HP SIM database based on the contents of
/home/user1/defs/newcredentials.xml, enter mxnodesecurity -a -f
/home/user1/defs/newcredentials.xml.
Example 9
To remove all all default or global (and only default or global) type credentials in the HP SIM of the specified
protocol type or name, enter mxnodesecurity -r -p wbem.
Example 10
To remove all WBEM credentials of default port number for the node
mycomputer.ak.hp.com
, enter
mxnodesecurity -r -p wbem -n mycomputer.ak.hp.com.
Example 11
To remove credentials in the HP SIM database based on the contents of
/home/user1/defs/newcredentials.xml, enter mxnodesecurity -r -f
/home/user1/defs/newcredentials.xml .
Example 12
To list all default or global and node or system credentials contained in the HP SIM database, enter
mxnodesecurity -l.
Example 5 67