HP Systems Insight Manager 7.1 Command Line Interface Guide

file must be formatted in the XML format defined for HP SIM users. See mxuser(4) for more
information.
mxuser -m username [-d description ] [-p
full|CMSSecurity|limited|none|+T|-T]
mxuser -m -g usergroupname [-d description ] [-p
full|CMSSecurity|limited|none|+T|-T]
mxuser -m -f filename
mxuser -m -gf -f filename
These commands enable a full rights or CMSSecurity rights user to modify an existing user or
group description, and to reassign rights to an existing user or group. The description replaces
the existing description for the user or group. Any modification of the user or group
authorizations must be made with mxauth (1M). Users or groups to be modified can be
specified on the command line or in an XML file. Use an XML file to modify multiple users or
groups at the same time. See mxuser(4) for more information.
mxuser -r username
mxuser -r -g usergroupname
mxuser -r -f filename
mxuser -r -gf -f filename
These commands enable full rights or CMSSecurity rights users to remove specified users or
user groups. This form of the command can only remove one user or group at a time. All
authorizations for the specified user or group are removed. HP SIM must have at least one
an administrative rights user, so the last administrative rights user cannot be removed. To
remove more than one user or group at a time, use -f filename to specify an input file.
See mxuser(4) for more information.
mxuser [-l d|f|n|t] [ username... ]
This command lists HP SIM user information. Specifying no options provides a list of user
names with no other information. This listing is the same as the -l n option. The -l d option
provides a detailed screen-viewable list of the users. The -l f option provides the list in an
XML file. The output of the XML file is valid input for -f. The -l t option provides a tabular
list of users with detailed information.
mxuser [-l dg|fg|ng|tg] [ usergroupname... ]
This command lists user group information. Specifying no options provides a list of user group
names with no other information. This listing is the same as the -l option with the ng qualifier.
The -l option with the dg qualifier provides a detailed screen-viewable list. The -l option
with the fg qualifier provides the list in an XML file. The output of the XML file is valid input
for -fg. The -l option with the tg qualifier provides a tabular listing of users with detailed
information.
mxuser -lf [-b encoding ] [ username... ]
This command saves user 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.
124 Command descriptions