HP Systems Insight Manager 7.0 Command Line Interface Guide

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.
NOTE: 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 Systems Insight Manager 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. Systems Insight Manager 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, Systems Insight Manager attempts to process
the user list collected during the first pass. Systems Insight Manager 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, Systems Insight Manager 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)).
mxuser 123