user
This command configures the Local Users table, which configures management user accounts.
Syntax
(config-system)# user <Username> (user-<Username>#
Command |
Description |
|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
block-duration <Time> |
Defines the duration (in seconds) for which the user is blocked when the user exceeds a user-defined number of failed login attempts. |
|||||||||||||||||||||
cli-session-limit <Max. Sessions> |
Defines the maximum number of concurrent CLI sessions logged in with the same username-password. |
|||||||||||||||||||||
password <displayed password>|<Enter key for hidden password> |
Defines the user's password.
Note:
(config-system)# user John Configure new user John (user-John)# password To generate an encrypted password, configure the password through the Web interface, and then save the device's configuration to an ini file. As the ini file displays passwords in obscured format by default, simply copy-and-past the encrypted password from the ini file into the CLI.
(config-system)# user John Configure new user John (user-John)# password
|
|||||||||||||||||||||
password-age <Days> |
Defines the validity duration (in days) of the password. |
|||||||||||||||||||||
privilege {admin|sec-admin|user} |
Defines the user's privilege level. |
|||||||||||||||||||||
public-key |
Defines a Secure Socket Shell (SSH) public key for RSA public-key authentication (PKI) of the remote user when logging into the device's CLI through SSH. |
|||||||||||||||||||||
session-limit <Max. Sessions> |
Defines the maximum number of concurrent Web sessions logged in with the same username-password. |
|||||||||||||||||||||
session-timeout <Number> |
Defines the duration (in minutes) of inactivity of a logged-in user, after which the user is automatically logged off the Web session. |
|||||||||||||||||||||
status {failed-login|inactivity|new|valid} |
Defines the status of the user. |
Command Mode
Privileged User
Example
This example configures a new user "John" and hides the password when typed:
(config-system)# user John Configure new user John (user-John)# password
Please enter hidden password (press CTRL+C to exit):
New password successfully configured!