R211x-HP Flexfabric 11900 Security Command Reference

Table Of Contents
32
Predefined user roles
network-admin
mdc-admin
Parameters
cipher: Sets a ciphertext password.
hash: Sets a hashed password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive.
In non-FIPS mode:
{ A cipher password is a string of 1 to 117 characters.
{ A hashed password is a string of 1 to 110 characters.
{ A plaintext password is a string of 1 to 63 characters.
In FIPS mode, a password is a plaintext string of 15 to 63 characters and must contain digits,
uppercase letters, lowercase letters, and special characters (see "Password control commands")
.
Usage guidelines
If none of the parameters is specified or the device operates in FIPS mode, you enter the interactive mode
to set a plaintext password. Only device management users support passwords configured in interactive
mode.
In non-FIPS mode, a non-password-protected user passes authentication if the user provides the correct
username and passes attribute checks. To enhance security, configure a password for each local user. In
FIPS mode, only password-protected users can pass authentication.
Device management users support plaintext and hashed passwords. Network access users support
plaintext and ciphertext passwords. For security purposes, all passwords, including passwords
configured in plain text, are saved in ciphertext, hashed or encrypted.
Examples
# Set the password of the device management user user1 to 123456TESTplat&! in plain text.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] password simple 123456TESTplat&!
# Set the password of the device management user test in interactive mode.
<Sysname> system-view
[Sysname] local-user test class manage
[Sysname-luser-manage-test] password
Password:
Confirm :
# Set the password of the network access user user2 to 123456TESTu se r&! in plain text.
<Sysname> system-view
[Sysname] local-user user2 class network
[Sysname-luser-network-user2] password simple 123456TESTuser&!
Related commands
display local-user
local-user password-display-mode