HP Systems Insight Manager 7.1 Command Line Interface Guide

:
For backward compatibility with Service Control Manager 3.0, the -p option also supports the
Trusted and Untrusted User +T and -T options. The +T option creates a user with, or modifies a
user to full configuration rights. The -T option creates a user with, or modifies a user to limited
configuration rights.
XML file support
The mxuser command enables full configuration or CMSSecurity rights users to add, modify, or
remove HP SIM users by specifying an XML file containing a list of users and user attributes.
Using an XML input file enables you specify additional information that is not included in the
command line options. This information includes a user's full name, e-mail address, and phone
number. HP SIM processes the input file in two passes.
The first pass attempts to parse the XML file and generate a list of users to process. This pass ensures
that the XML file is formatted correctly, that the user names are valid, and the user objects contain
valid information. During the first pass, if an error is detected, the process is interrupted, an error
message is issued, and the database is left unchanged.
If the XML file is successfully processed in the first pass, HP SIM attempts to process the user list
collected during the first pass. HP SIM processes the user list until it processes the entire list, or until
the a logic error is encountered, such as specifying a duplicate user during an add, specifying a
nonexistent user during a modify, or attempting to remove the last administrative rights user.
If an error occurs during the second pass, HP SIM interrupts processing and issues an error message.
If the input file contains valid user data prior to the invalid data, that data is processed completely
and the database is modified. All data subsequent to the invalid data is ignored.
Options
-a
Add a user or user group.
-r
Remove a user or user group.
-m
Modify a user or user group by granting or denying privileges. Modifying a comment
replaces any existing comment.
-f filename
Specify the XML file that contains information about users or user groups to be
added, modified, or removed (see mxuser(4)).
-l d
Display a detailed screen-viewable list of users and user attributes.
-l f
Display an XML list of users and user attributes (see mxuser(4)).
-l n
Display a list of user names (with no details).
-l t
Display a tabular list of users and user attributes.
mxuser 125