HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
178
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 [ [ hash ] { cipher | simple } password ]
undo password
Views
Local user view
Default command level
2: System level
Parameters
hash: Enables hash-based encryption.
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 Commands."
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text or hashed form.
When the password control feature is enabled globally (by using the password-control enable
command), attributes of the local user passwords (such as the length and complexity) are under the
restriction of the password control feature and are not displayed, and the password hash cipher
command does not take effect.
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.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] password simple 123456
# Set a plaintext password 123456 in interactive mode for local user user1.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] password
Password:******
Confirm :******