HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 49
modify attributes
Description Use this command to modify the attributes of a specified user, such as granting access to or revoking
access from an array. Only users belonging to the Administrators group can modify attributes.
By default, all users belonging to the Administrators group have access to all the added arrays in
modify mode. Default users in the users group have read-only access to the added arrays.
If for some reason (such as not obtaining a lock) an array was not assigned to the user after
assigning all arrays, an error message, “Arrays with serial number <xxxxx, xxxxx>
could not be assigned to this user”, will be displayed.
NOTE: From the web-based GUI you can assign/unassign a user to a partition of the array. This is
not supported in the CLI. In the CLI, you can only assign/unassign full array access.
Syntax modify attributes <username> [-grant <SerialNo...>] [-revoke
<SerialNo...>]
Arguments <username>
The name of the user whose attributes are to be modified.
[-grant <SerialNo...>]
The list of arrays that has to be added to the list of arrays managed by the user.
[-revoke <SerialNo...>]
The list of arrays that has to be removed from the list of arrays currently being managed by the
user.
Example To give Natasha access to arrays 10033 and 20074:
modify attributes Natasha –grant 10033,20074
To give Natasha access to 30011 and remove access to 10033:
modify attributes Natasha –grant 30011 –revoke 10033