88
View
System view
Default level
2: System level
Parameters
auto
: Displays the password of a local user in the mode that is specified for the user by using the
password
command.
cipher-force
: Displays the passwords of all local users in cipher text.
Description
Use the
local-user password-display-mode
command to set the password display mode for all local
users.
Use the
undo local-user password-display-mode
command to restore the default.
By default, the password display mode is
auto
.
If you configure the
local-user password-display-mode
cipher-force
command, all existing local user
passwords will be displayed in cipher text, regardless of the configuration of the
password
command. If
you also save the configuration and restart the device, all existing local user passwords will always be
displayed in cipher text, no matter how you configure the
local-user password-display-mode
command
or the
password
command. The passwords configured after you restore the display mode to
auto
by
using the
local-user password-display-mode
auto
command, however, are displayed as defined by the
password
command.
Related commands:
display local-user
and
password
.
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
: Displays the password in cipher text.
simple
: Displays the password in plain text.
password
: Password for the local user, case-sensitive. It must be in plain text if you specify the
simple
keyword and can be in plain or cipher text if you specify the
cipher
keyword. A password in plain text