HP Systems Insight Manager 5.3 Command Line Interface reference guide

In the simple listing format, the Auto Update state for a node group authorization is appended and
displayed as :Auto if Auto Update is enabled, or :Manual if you must manually click the Update
button to update an authorization. For example:
user:toolboxname:g:groupname:Auto
user:toolboxname:g:groupname:Manual
In the tabular listing format, a new AUTO column is included. The Auto Update state for a node group
authorization is Auto if Auto Update is enabled. If Auto Update is disabled, the column is blank.
NOTE: This command displays the current Auto Update state for node group authorizations, but you
cannot use it to change or set the Auto Update state. Use mxngroup to set the Auto Update state.
mxauth -l f [-b encoding]
This command outputs authorization information to an XML file.
Optionally, you can specify the character encoding of the XML file. The value for the character encoding
must match a valid character encoding. If no encoding is specified, the system attempts to write the file
in the encoding currently defined on the system. See http://www.iana.org/assignments/character-sets
for the list of valid character sets.
XML file support
mxauth allows you to add or remove authorizations by specifying an XML file containing a list of
authorizations. See the Examples section and the mxauth(4) manpage for more information.
XML input files are processed in three passes:
1. The first pass attempts to parse the XML file and generate a list of authorizations to process. This pass
ensures that the XML file is formatted correctly, and the authorization objects contain syntactically valid
information.
If an error is detected, the process is interrupted, an error is generated, and the HP SIM database is
not changed.
2. During the second pass, mxauth tries to resolve the components in each authorization to objects in
the database. If the command encounters a logic error, such as a nonexistent user, toolbox, node, or
node group, the process is interrupted, an error is generated, and the HP SIM database is not changed.
3. During the third pass, mxauth performs the requested authorization addition or removal, and updates
the database.
Duplicate and undefined authorizations are ignored during add and remove operations.
Options
-a
Add authorizations. The wildcard character (*) is supported for nodename and
groupname .
-r
Remove authorizations. The wildcard character (*) is supported for nodename and
groupname .
-f filename
Specify a file that contains the list of authorizations to add or remove.
-l t
List all authorizations in tabular format.
-l f
List authorization information in XML format. The resulting file can be edited and used to
add or remove authorizations with -f.
20 Command descriptions