Set Authentication Password - HP MSR Series Command Reference Manual

Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

set authentication password

Use set authentication password to set a password for local password authentication.
Use undo set authentication password to remove the password.
Syntax
set authentication password { hash | simple } password
undo set authentication password
Default
No password is set for local password authentication.
Views
User line view, user line class view
Predefined user roles
network-admin
Parameters
hash: Sets a hashed password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 16 characters. If hash is specified, it must be a string of 1 to 1 10 characters.
Usage guidelines
This command is not supported in FIPS mode.
For security purposes, the password is hashed before being saved, whether you specify the hash or
simple keyword.
This command is available in both user line view and user line class view:
If the setting in user line view is not the default, the setting in user line view takes effect.
If the setting in user line view is the default but the setting in user line class view is not, the setting
in user line class view takes effect.
Examples
# Set the password for local password authentication on user line Console 0 to hello.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] authentication-mode password
[Sysname-line-console0] set authentication password simple hello
When you log in again through user line Console 0, you must enter the password hello to pass
authentication.
Related commands
authentication-mode
74

Advertisement

Table of Contents
loading

Table of Contents