F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Access Control Command Reference-6PW100
183
• terminal: Users logging in through the console or AUX port. Support for AUX logins depends on the
device model. For more information, see Getting Started Guide. In FIPS mode, you must specify the
terminal type.
• web: Web users.
Examples
# Add a local user named user1.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1]
Related commands
• display local-user
• service-type
password (local user view)
Use password to configure a password for a local user.
Use undo password to delete the password of a local user.
Syntax
password [ { cipher | simple } password ]
undo password
Views
Local user view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 63 characters. If cipher is specified, it must be a ciphertext string of 1 to 117 characters.
Usage guidelines
If you do not specify any parameter, you enter the interactive mode to set a plaintext password string. The
interactive mode is provided by the password control feature. For more information about password
control commands, see "Password Control Configuration Commands."
For secrecy, all passwords, including passwords configured in plain text, are saved in cipher text.
When the password control feature is enabled globally (by using the password-control enable
command), local user passwords, such as the length and complexity, are under the restriction of the
password control feature and are not displayed.
In FIPS mode, this command is not available, and you must use the password-control command to set a
password for a local user.
Examples
# Set the password to 123456 in plain text for local user user1.