R0106-HP MSR Router Series Security Command Reference(V7)

41
[Sysname] local-user user2 class network
[Sysname-luser-network-user2]
Related commands
display local-user
service-type
password
Use password to configure a password for a local user.
Use undo password to delete the password of a local user.
Syntax
In non-FIPS mode:
password [ { cipher | hash | simple } password ]
undo password
In FIPS mode:
password
Default
In non-FIPS mode, there is no password configured for a local user. A local user can pass
authentication after entering the correct username and passing attribute checks.
In FIPS mode, there is no password configured for a local user. A local user cannot pass
authentication.
Views
Local user view
Predefined user roles
network-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, the password is a plaintext string of 15 to 63 characters. The string must contain digits,
uppercase letters, lowercase letters, and special characters (see "Password control commands").
Usage guidelines
If you do not specify any of the parameters or if 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.