HP Systems Insight Manager 5.3 Command Line Interface reference guide

<node-authorization user-name="user3"
toolbox-name="dbadmin"
node-name="node2.corp.com" />
<node-group-authorization user-name="user4"
toolbox-name="All Tools"
node-group-name=All Managed Systems />
</auth-list>
The first section in my_auths.xml gives
user1
the toolbox
webadmin
on
node1.corp.com
. The second
section gives
user2
the toolbox
operator
on
node1.corp.com
. The third section gives
user3
the toolbox
dbadmin
on
node2.corp.com
. The fourth section gives
user4
the toolbox
All Tools
for the node group
All
Managed Systems.
Example 2
To add the node authorization allowing user
bill
to execute any tools assigned to the
webadmin
toolbox on
node
web01
, enter mxauth -a -u bill -R webadmin -n web01.
Example 3
To use the wildcard character to add the node authorizations that allow user
jane
to execute any tools
assigned to the
webadmin
toolbox on all configured nodes at the time the command is executed, enter
mxauth -a -u jane -R webadmin -n "*".
Example 4
To remove the node authorization for user
martha
to execute any tools assigned to the
sapadmin
toolbox
on node
sap01
, enter mxauth -r -u martha -n sap01 -R sapadmin.
Example 5
To use the wildcard character to remove the node authorizations that allow user
wilma
to execute any tools
assigned to the
webadmin
toolbox on all configured nodes at the time the command is executed, enter
mxauth -r -u wilma -R webadmin -n "*".
Example 6
To add the node group authorization to allow user
sue
to execute any tools assigned to the
webadmin
toolbox on nodegroup
webGroup
, enter mxauth -a -u sue -R webadmin -g webGroup.
Example 7
To use the wildcard character to add the node group authorizations that allow user
jane
to execute any
tools assigned to the
operator
toolbox on all configured node groups at the time the command is executed,
enter mxauth -a -u jane -R operator -g "*".
Example 8
To remove the node group authorization for user
john
to execute any tools assigned to the
dbadmin
toolbox
on nodegroup
dbGroup
, enter mxauth -r -u john -R dbadmin -g dbGroup.
Example 9
To remove the node group authorizations that allow user
john
to execute any tools assigned to the
dbadmin
toolbox on all configured node groups at the time the command is executed, enter mxauth -r -u john
-R dbadmin -g "*".
Example 10
To list, in tabular format, all authorizations assigned to all users in the database, enter mxauth -l t.
Diagnostics
mxauth writes to stdout, stderr, and the HP SIM Audit Log file.
22 Command descriptions