Data ONTAP provides the following predefined roles.
|
-a cli-cifs*, cli-exportfs*, cli-nfs*, cli-useradmin*, api-cifs-*, api-nfs-*, login-telnet, login-http-admin, login-rsh, login-ssh | ||
|
Grants the ability to make snmp-get and snmp-get-next API calls. | ||
You use the useradmin role add or useradmin role modify commands to define and modify the capabilities of roles that can be assigned to a group.
Data ONTAP supports four capability types, as described in the following table.
|
Grants the specified role telnet, console, rsh, ssh, or http-admin login capabilities. login-* gives the specified role the ability to log in through all supported protocols. login-protocol gives the specified role capability to log in through a specified protocol. Supported protocols include:
| |
|
Grants the specified role the ability to execute one or more Data ONTAP command line interface (CLI) commands. cli-* grants the specified role the capability to execute all supported CLI commands. cli-cmd* gives the specified role the capability to execute all commands associated with the CLI command cmd. For example, the following command gives the specified role the capability to execute all vol commands: useradmin role modify status_gatherer -a cli-vol* Note | |
|
Grants the specified role security-related capabilities, such as the ability to change other users' passwords or to invoke the CLI priv set advanced command. security-* grants the specified role all security capabilities. security-capability grants the specified role one of the following specific security capabilities:
| |
|
Grants the specified role the capability to execute Data ONTAP API calls. api-* grants the specified role all api capabilities. api-api_call_family-* grants the specified role the capability to call all API routine in the family api_call_family. api-api_call grants the specified role the capability to call the API routine api_call. Note |
To create a new role, complete the following steps:
| 1 |
useradmin role add role_name [-c comments] -a capability1[,capability2...] role_name is the name of the role you want to create. Role names are case insensitive and can be 1-32 characters. For more information about naming requirements, see Naming requirements for users, groups and roles. comments is a short string you can use to document this role. The capability parameters are the capabilities you want to grant to this new role. |
| 2 |
To verify the success of the operation, enter the following command. useradmin role list role_name Result |
To modify the capabilities of an existing role, you use the useradmin role modify command.
Note
When you use the useradmin role modify command to modify an existing role, whatever capabilities were previously assigned to that role are replaced with the capabilities you supply in the command.
To modify an existing role, complete the following steps.
You can grant API capabilities for API command families. For example, to grant the myrole role only the capability to run CIFS commands, you use the following command:
useradmin role add myrole -a api-cifs-*
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01077_B0
File: 6admacc6.htm
Last updated: 05-Dec-2005 17:15:57