HP Systems Insight Manager 6.0 Command Line Interface Guide

mxnodesecurity -r -p protoName -n @default1 [-x {forceDelete | fd}]
To first copy the credential, then forcefully remove the global credential, use the -x option with
the following argument:
mxnodesecurity -r -p protoName [-x {forceCopyDelete | fd}]
mxnodesecurity -r -p protoName -n @default1 [-x {forceCopyDelete | fd}]
If you omit the node name during a remove operation, all default/global credentials for the supplied
protocol are removed from the HP SIM credentials database.
mxnodesecurity -l [-p protocol ] [-n nodename ]
The list option enables you to list both default or global and node or system type credentials stored in
the HP SIM credentials database. You can specify a protocol or a node name to filter the list results.
If the list option is used with the protocol option, all nodes with credentials of the specified protocol are
listed. If the list option is used with the node option, the node is located, and all credentials for that
node, regardless of protocol, are listed. If the node and protocol options are used together, the node
will be displayed only if credentials for the specified protocol exist.
XML file support
This command requires the following format for XML input files:
<?xml version="1.0" encoding="UTF-8" ?>
<nodelist>
<node name="nodeName">
<credential protocol="wbem" username="userName" password="userPassword" encoded ="">
</node>
</nodelist>
If the CMS detects a formatting error while processing an input file, it does not make any changes to the
node security repository. The CMS will interrupt processing and issue an error message. See
mxnodesecurity(4) for more XML usage information.
Options
-a
Add or modify credentials in the HP SIM credentials database. This option must be used
with -f or -p and -c.
-r
Remove credentials from the HP SIM credentials database. This option must be used with
-f or -p.
-l
List node security credentials on the screen. This option can be used with -p and -n options.
-f filename
Use an XML file to specify the credentials to add, modify, or remove.
-p protocol
Specify a protocol such as WBEM or SNMP. Credentials of the specified type are displayed
on the screen. This option is used with -a, -r, and -l. Standard HP SIM protocols are
"snmp", "wbem", "ws-man", "ssh" and "sign-in". The mxnodesecurity command interprets
"wsman" or "ws-man" on the command line as the same protocol. The mxnodesecurity
command interprets "signin" or "sign-in" on the command line as the same protocol. A
"sign-in" credential is a protocol independent credential used to sign into the managed
system. The mxnodesecurity command also accepts any name for a protocol name.
-c username:password
68 Command descriptions