HP 3PAR OS 3.1.3 Command Line Interface Reference

setuseracl
DESCRIPTION
The setuseracl command sets the Access Control List (ACL).
SYNTAX
setuseracl [options] <user_name> <operation> [<name_or_pattern>]...
AUTHORITY
Super, Edit
Any role granted the useracl_set right.
OPTIONS
-add
Adds names or patterns of objects at the end of an existing ACL.
-remove
Removes names or patterns of objects from an ACL.
SPECIFIERS
<user_name>
Specifies the name of the user whose ACL is being set.
<operation>
Specifies the operation for which the ACL is being defined. The only value currently accepted is
the updatevv command, which updates a snapshot with a new snapshot. Refer to updatevv
(page 659) for details.
[<name_or_pattern>]...
Specifies a list of names or patterns of objects on which the operation (as specified by the
<operation> argument) is performed. The object type is dependent on the specified operation.
For example, the objects or names specified for the updatevv operation are Virtual Volume (VV)
names. If an empty string is specified without any option, then any existing ACL for the
<user_name>, <operation> is removed.
RESTRICTIONS
None
EXAMPLES
The following example sets the ACL for user testuser1 and allows testuser1 to update the
snapshot VVs of VVs vv1 and vv2.
cli% setuseracl testuser1 updatevv vv1 vv2
The following example shows how to add vv3 and vv4 to the ACL for user testuser1:
cli% setuseracl -add testuser1 updatevv vv3 vv4
setuseracl 331