HP Systems Insight Manager 6.0 Command Line Interface Guide

There are several ways to display user information on the screen. You can also save user information in an
XML-formatted file.
# mxuser l t ; displays the user name, rights, and description in tabular format
# mxuser l d ; displays all user information in a screen-viewable format
# mxuser l n ; displays only the user names
# mxuser l f ; displays all user information in XML format
For each of the l options, you can specify one or more user names and one or more user group names to
get the information for only those users and user groups. For example:
# mxuser l d Jane Bob
This example displays the details of users Jane and Bob.
Managing system groups
If a user or a set of users are managing several systems, place them in a system group. This enables you to
create authorizations for the users using a single command. For more information, see “Managing
authorizations. If a user is only managing a few systems, create the authorizations on a system-by-system
basis.
The mxngroup command enables you to create, remove, modify, and list system groups in HP SIM. For a
complete description of mxngroup, see the mxngroup man page. For a complete description of the XML
syntax for managing system groups from an XML file, see the mxngroup(4) man page.
To create a system group, enter:
# mxngroup a g grpname [d description] [n [member1 member2 ]]
Where grpname is the name of the system group.
The d description (optional) parameter enables you to provide a description of the group, like
PA Systems, or All Windows Servers.
The n (optional) parameter enables you to provide a list of systems that will be members of the new
group. If you do not provide the n parameter, or if you do not enter any members for the n parameter,
the system group created will be empty.
When creating a system group that contains many systems, HP recommends creating an XML file containing
the list of systems to add to the group. To create a system group from an XML file, enter:
# mxngroup a f grpfile.xml
The following example demonstrates the syntax to create a system group called group1, providing a
description, and adding two systems to the group:
<?xml version="1.0" encoding="UTF-8"?>
<node-group-list>
<node-group name="group1">
<description>This is group1.</description>
<member-node value="system1.corp.com" />
<member-node value="system2.corp.com" />
</node-group>
</node-group-list>
To modify existing system groups, the syntax is identical to that for adding system groups however, you
replace the a option with the m: option, for example:
# mxngroup m g grpname [d description] [n [member1 member2 ]] [u [t|f]]
If you do not provide both the optional d and n parameters, then the group is not modified.
Using the d parameter replaces the existing group description with the one you provide.
Using the n option is only recommended for groups that have very few entries because you must list
the systems in the same order as they were added, with new system names in the place of the systems
they are replacing. If you are adding new systems, they must be placed at the end of the list.
Using the u [t|f] option sets the automatic update feature to enabled or disabled.
The following are examples of modifying a group called grp, with three members, n1, n2, and n3, listed in
the order the groups were created:
Managing users and authorizations 127