1-28
Examples
# Specify to display the passwords of all users in cipher text.
<Sysname> system-view
[Sysname] local-user password-display-mode cipher-force
password
Syntax
password
{
cipher
|
simple
}
password
undo password
View
Local user view
Default Level
2: System level
Parameters
cipher
: Specifies to display the password in cipher text.
simple
: Specifies to display the password in simple text.
password
: Password for the local user.
z
In simple text, it must be a string of 1 to 63 characters that contains no blank space, for example,
aabbcc.
z
In cipher text, it must be a string of 24 or 88 characters, for example,
_(TT8F]Y\5SQ=^Q`MAF4<1!!.
z
With the
simple
keyword, you must specify the password in simple text. With the
cipher
keyword,
you can specify the password in either simple or cipher text.
Description
Use the
password
command to configure a password for a local user.
Use the
undo password
command to delete the password of a local user.
Note that:
z
With the
local-user password-display-mode
cipher-force
command configured, the password
is always displayed in cipher text, regardless of the configuration of the
password
command.
z
With the
cipher
keyword specified, a password of up to 16 characters in plain text will be
encrypted into a password of 24 characters in cipher text, and a password of 16 to 63 characters
in plain text will be encrypted into a password of 88 characters in cipher text. For a password of 24
characters, if the system can decrypt the password, the system treats it as a password in cipher
text. Otherwise, the system treats it as a password in plain text.
Related commands:
display local-user
.
Examples
# Set the password of
user1
to 123456 and specify to display the password in plain text.
<Sysname> system-view
[Sysname] local-user user1
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...