HP 3PAR OS 3.1.3 Command Line Interface Reference

showrole
DESCRIPTION
The showrole command displays information about rights assigned to roles in the system. Without
any argument, showrole displays the roles currently defined.
SYNTAX
showrole [<role_name | pattern ...>]
showrole -listrights
AUTHORITY
Any role in the system.
OPTIONS
-listrights
Lists the rights available in the system.
SPECIFIERS
<role_name | pattern>...
Specifies that the role name matching the specified glob-style pattern will have their rights displayed.
This specifier can be repeated. This specifier is not required.
RESTRICTIONS
If both -listrights and <role_name> patterns are provided, the -listrights option takes
precedence and only information related to rights will be displayed.
EXAMPLES
The following example displays the role names in the system:
cli% showrole
---Role-----------------------Comments----------------------------------
3PAR_AO Used internally by HP for Adaptive Optimization operations.
3PAR_RM Used internally by HP for operations required by Recovery Manager.
basic_edit Rights are similar to Edit role, but more restricted, specifically in the
ability to remove objects such as volumes, VLUNs, and hosts.
browse Rights are limited to read-only access.
create Rights are limited to creation of objects such as volumes, CPGs, hosts,
and schedules.
edit Rights are granted to most operations, such as for creating, editing, and
removing virtual volumes.
service Rights are limited to operations required to service the storage server.
super Rights are granted to all operations.
The following example displays the rights assigned to the browse role:
cli% showrole browse
---Role--- -------Right------- -----Right_Description------------------------
browse password_checkown Check a user's own password
password_setown Set a user's own password
sshkey_remove Remove users public SSH keys
sshkey_set Set the public SSH key for a user
user_setown Set a user's own properties
458 Show Commands