F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
28
set authentication password
Use set authentication password to set a password for password authentication.
Use undo set authentication password to remove the password.
Syntax
set authentication password { cipher | simple } password
undo set authentication password
Default
No password is set for password authentication.
Views
User interface view
Default command level
3: Manage 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 16 characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters.
Usage guidelines
For secrecy, all keys, including keys configured in plain text, are saved in cipher text.
This command is not supported in FIPS mode.
Examples
# Set the password for password authentication on user interface Console 0 to plaintext hello.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] authentication-mode password
[Sysname-ui-console0] set authentication password simple hello
Related commands
authentication-mode
shell
Use shell to enable the terminal service for a user interface.
Use undo shell to disable the terminal service for a user interface.
Syntax
shell
undo shell
Default
The terminal service is enabled on all user interfaces.