Service-Type - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

If the hash keyword is not specified, a plaintext password is a string of 1 to 63 characters and a
ciphertext password is a string of 1 to 1 17 characters.
If the hash keyword is specified, a plaintext password is a string of 1 to 63 characters and a
ciphertext password is a string of 1 to 1 10 characters.
Description
Use the password command to configure a password for a local user and specify whether to display the
password in ciphertext or plain text.
Use the undo password command to delete the password of a local user.
If neither cipher nor simple is specified, you set a plaintext password string in interactive mode. This
interactive mode is supported only on switches that support the password control feature. For more
information about password control commands, see
When the password control feature is enabled globally (by using the password-control enable
command), local user passwords, such as the length and complexity, are under the restriction of the
password control feature, and will not be displayed. You cannot configure a password by using the
password hash cipher password command.
For security purposes, all passwords, including passwords configured in plain text, are saved in
ciphertext.
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
[Sysname-luser-user1] password simple 123456
# Set a plaintext password AAbbcc1234% in interactive mode for local user user1.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] password
Password:***********
Confirm :***********

service-type

Syntax
In non-FIPS mode:
service-type { ftp | lan-access | { ssh | telnet | terminal } * | portal | web }
undo service-type { ftp | lan-access | { ssh | telnet | terminal } * | portal | web }
In FIPS mode:
service-type { lan-access | { ssh | terminal } * | portal | web }
undo service-type { lan-access | { ssh | terminal } * | portal | web }
View
Local user view
"Password control configuration
35
commands."

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents