Shell - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

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 setting, the setting in user line view takes effect.
If the setting in user line view is the default setting but the setting in user line class view is not, the
setting in user line class view takes effect.
Examples
# Set the password for password authentication on user line AUX 0 to hello.
<Sysname> system-view
[Sysname] line aux 0
[Sysname-line-aux0] authentication-mode password
[Sysname-line-aux0] set authentication password simple hello
When you log in again through user line AUX 0, you must enter the password hello to pass
authentication.
Related commands
authentication-mode

shell

Use shell to enable the terminal service for a user line.
Use undo shell to disable the terminal service for a user line.
Syntax
shell
undo shell
Default
The terminal service is enabled on all user lines.
Views
User line view, user line class view
Predefined user roles
network-admin
Usage guidelines
The undo shell command is not supported in console line view or console line class view.
You cannot disable the terminal service on the user line you are using.
When the device operates as a Telnet or SSH server, you cannot configure the undo shell command.
If the undo shell command is configured in user line class view, you cannot configure the shell command
in the view of a user line in the class.
36

Advertisement

Table of Contents
loading

Table of Contents