F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Access Control Command Reference-6PW100
248
password
Use password to set a password for a local user in interactive mode.
Use undo password to remove the password for a local user.
Syntax
Password
undo password
Views
Local user view
Default command level
2: System level
Usage guidelines
Valid characters for a local user password include uppercase letters A to Z, lowercase letters a to z,
numbers 0 to 9, blank space, and these 31 symbols: tilde (~), exclamation mark (!), at sign (@), number
sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk (*), brackets ({ }, ( ),[ ], < >),
hyphen (-), underscore (_), plus (+), equal sign (=), vertical bar (|), backslash (\), colon (:), semicolon (;),
quotation marks (", '), comma (,), period (.), and slash (/).
A local user password configured in interactive mode must satisfy the password control requirement. For
example, if the minimum password length is set to 8, the password must contain at least eight characters.
Examples
# Set a password for local user test in interactive mode.
<Sysname> system-view
[Sysname] local-user test
[Sysname-luser-test] password
Password:**********
Confirm :**********
Updating user(s) information, please wait....
password-control { aging | composition | history | length }
enable
Use password-control { aging | composition | history | length } enable to enable the password aging,
composition restriction, history, or minimum password length restriction function.
Use undo password-control { aging | composition | history | length } enable to disable the specified
function.
Syntax
password-control { aging | composition | history | length } enable
undo password-control { aging | composition | history | length } enable
Default
The four password control functions are all enabled.