94
password
: A case sensitive string. If the password format is set to
simple
, the
password
argument must be in plain text. If it is set to cipher,
password
can be either in cipher text
or in plain text depending on what has been input. A plain text password can be a
string of no more than 16 consecutive characters, 1234567 for example. A cipher text
password, or the encrypted version of the plain text password, comprises 24 characters,
such as _(TT8F]Y\5SQ=^Q`MAF4<1!!.
Description
Use the
set authentication password
command to set a local authentication password.
Use the
undo set authentication password
command to remove the local
authentication password.
No local authentication password is set by default.
When setting a password, you should specify
simple
to save it in plain text in the
configuration file, or specify
cipher
to save it in cipher text.
Whether the password format is plain text or cipher text, you must type in plain text
password at authentication.
Plain text password easily gets cracked. Therefore, use cipher text password.
Related commands:
authentication-mode
.
Examples
Set the local authentication password for the user interface console 0 to
hello
.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] authentication-mode password
[Sysname-ui-console0] set authentication password cipher hello
After setting the password, you are required to input the password next time you enter
the system.
shell
Syntax
shell
undo shell
View
User interface view
Default Level
3: Manage level