HP-UX CMGR A.02.01 Administrator's and Developer's Guide

11
Operation
Description
a set of actions equivalent to a
delete
followed by an
add
operation.
list
Lists the RBAC administrator role associated with the admin user, the RBAC
authorizations for the compartment, and the command privileges.
export
Exports users and groups associated with the RBAC administrator role. Adds the users
and groups configured for the RBAC administrator role to an XML file
(exchange.xml) in the exchange file, which is an archive file. The export operation
updates the XPath
/cmgr/body/admins/admin
in the
exchange.xml
file.
import
Imports the users and groups and associates them with the RBAC administrator role.
The users and groups are extracted from the exchange.xml file in the exchange file
archive. The import operation reads the XPath /cmgr/body/admins/admin in the
exchange.xml
file.
The ipaddress element can have the following attributes:
Attribute Description
compartment
Optional. Common attribute. Defaults to the value of the
$compartment
variable.
Id
Optional. Common attribute.
If
Optional. Common attribute.
if_op
Optional. Common attribute.
Role
The RBAC administrator role for the compartment. Default is SRPadmin-
$compartment
.
User
A comma separated list of users and groups to associate with the RBAC
administrator role. Group names must start with the
&
character.
See 2.4 Common
Attributes for more information on common attributes.
2.2.2 The commands Element
The commands element executes the specified HP-UX commands. Upon invocation, the commands
element handler checks the operation option from the cmgr command line and performs one of the
following tasks:
Operation Description
add, delete, replace,
list, export, import
The contents of the concatenated data child elements are supplied as
input to /usr/bin/sh. The commands handler will return the value
returned by
/usr/bin/sh
.
The commands element can have the following attributes:
Attribute Description
compartment
Optional. Common attribute.
Id
Optional. Common attribute.