username
username <username> [capability <cap> | disable [login | password] | full-name <name> | nopassword | password [0 | 7] <password>] Creates a user and sets its capabilities, password and name. | ||
Syntax Description | username | Specifies a username and creates a user account. New users are created initially with admin privileges but is disabled. |
capability | User capabilities:
| |
disable [login | password] |
| |
full-name | Full name of the user | |
nopassword | The next login of the user will not require password | |
0 | 7 |
| |
password | Specifies a password for the user in string form. If [0 | 7] was not specified then the password is in cleartext. | |
Default | The following usersnames are available by default:
| |
Configuration Mode | config | |
History | 1.5 | |
Example | ufmapl [ mgmt-sa ] (config) # username monitor full-name smith | |
Related Commands | show usernames | |
Notes |
|
show usernames
show usernames Displays list of users and their capabilities. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any configuration mode | |
History | 1.5 | |
Example | ufmapl [ mgmt-sa ] (config) # show usernames USERNAME FULL NAME CAPABILITY ACCOUNT STATUS USERID System Administrator admin Password set admin System Administrator admin Password set monitor smith monitor Password set xmladmin XML Admin User admin No password required xmluser XML Monitor User monitor No password required | |
Related Commands | username | |
Notes |
show users
show users [history] Displays logged in users and related information such as idle time and what host they have connected from. | ||
Syntax Description | history | Displays current and historical sessions |
Default | N/A | |
Configuration Mode | Any configuration mode | |
History | 1.5 | |
Example | ufmapl [ mgmt-sa ] (config) # show users USERNAME FULL NAME LINE HOST IDLE admin System Administrator pts/0 172.22.237.174 0d0h34m4s admin System Administrator pts/1 172.30.0.127 1d3h30m49s admin System Administrator pts/3 172.22.237.34 0d0h0m0s ufmapl [ mgmt-sa ] (config) # show users history admin pts/3 172.22.237.34 Wed Feb 1 11:56 still logged in admin pts/3 172.22.237.34 Wed Feb 1 11:42 - 11:46 (00:04) wtmp begins Wed Feb 1 11:38:10 2012 | |
Related Commands | username | |
Notes |
show whoami
show whoami Displays username and capabilities of user currently logged in. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any configuration mode | |
History | 1.5 | |
Example | ufmapl [ mgmt-sa ] (config) # show whoami Current user: admin Capabilities: admin | |
Related Commands | username | |
Notes |