
| 
 | 
 | A – Command Line Interface | |
| 
 | 
 | User Command | |
| 
 | 
 | 
 | |
| User Command | 
 | 
 | |
| 
 | 
 | ||
| 
 | Administers or displays user accounts. | ||
| Authority | Admin | 
 | 
 | 
| Syntax | user | 
 | 
 | 
| 
 | accounts | 
 | 
 | 
| 
 | add | 
 | 
 | 
| 
 | delete [account_name] | ||
| 
 | list | 
 | 
 | 
| Keywords | accounts | 
 | 
 | 
| 
 | Displays all user accounts that exist on the switch. | ||
| 
 | add | 
 | 
 | 
| 
 | Add a user account to the switch. After this command is executed, the | ||
| 
 | administrator will be prompted for the information needed to establish the user | ||
| 
 | account. | 
 | 
 | 
| 
 | delete [account_name] | ||
| 
 | Deletes the account name given by [account_name] from the switch. | ||
| 
 | list | 
 | 
 | 
| 
 | Displays the list of users currently logged in and their session numbers. Provides | ||
| 
 | the same function as the Show User command. This keyword is valid for User | ||
| 
 | authority and does not require an admin session. | ||
| Examples | The following is an example of the User Accounts command: | ||
| 
 | SANbox2 (admin) #> user accounts | ||
| 
 | Current list of user accounts | ||
| 
 | 
 | ||
| 
 | admin | (admin authority = True) | |
| 
 | user1 | (admin authority = False) | |
| 
 | user2 | (admin authority = False) | |
| 
 | user3 | (admin authority = True) | |
The following is an example of the User Add command:
SANbox2 (admin) #> user add
Press ’q’ and the ENTER key to abort this command.
| account | name  | : user3 | 
| account | password  | : | 
please confirm account password:
