The following useradmin commands create a user with a limited and specialized set of administrator capabilities. The commands carry out the following operations:
> useradmin role add only_ssh -a login-ssh
Role <only_ssh> added.
> Thu Apr 22 10:50:05 PDT [tpubs-cf1: useradmin.added.deleted:info]: The role 'only_ssh' has been added.
>useradmin role add qtree_commands -a cli-qtree*,api-qtree-*
Role <qtree_commands> added.
> Thu Apr 22 10:51:51 PDT [tpubs-cf1: useradmin.added.deleted:info]: The role 'qtree_commands' has been added.
>useradmin group add ssh_qtree_admins -r only_ssh,qtree_commands
Group <rsh_qtree_admins> added.
> Thu Apr 22 10:53:07 PDT [tpubs-cf1: useradmin.added.deleted:info]: The group 'ssh_qtree_admins' has been added.
>useradmin user add wilma -g ssh_qtree_admins
New password:
Retype new password:
User <wilma> added.
> Thu Apr 22 10:54:43 PDT [tpubs-cf1: useradmin.added.deleted:info]: The user 'wilma' has been added.
> useradmin user list wilma
Name: wilma
Info:
Rid: 131074
Groups: ssh_qtree_admins
Full Name:
Allowed Capabilities: login-ssh,cli-qtree*,api-qtree-*
In a CIFS environment, you might want to create users on the storage system that are in local groups but do not have console access or any administrative capabilities on the storage system. These users would still have the file access permissions granted by the local groups.
To add a user with no console access or administrative capabilities to a storage system, complete the following steps.
| 1 |
useradmin user add user_name -g "Guests" |
| 2 | |
| 3 |
To verify that you have created the user with no capabilities, enter the following command: useradmin user list user_name Result |
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01077_B0
File: 6admacc8.htm
Last updated: 21-Dec-2005 09:03:27