Service-Type - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

Examples
# Set the password of the device management user user1 to 123456 in plain text.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] password simple 123456
# 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 getapp in plain text.
<Sysname> system-view
[Sysname] local-user user2 class network
[Sysname-luser-network-user2] password simple getapp
Related commands
display local-user

service-type

Use service-type to specify the service types that a local user can use.
Use undo service-type to delete service types configured for a local user.
Syntax
In non-FIPS mode:
service-type { ftp | lan-access | {ssh | telnet | terminal } * }
undo service-type { ftp | lan-access | { ssh | telnet | terminal } * }
In FIPS mode:
service-type { lan-access | { ssh | terminal } * }
undo service-type { lan-access | { ssh | terminal } * }
Default
A local user is authorized with no service and cannot use any service.
Views
Local user view
Predefined user roles
network-admin
Parameters
ftp: Authorizes the user to use the FTP service. By default, the user can use the root directory of the FTP
server. The authorized directory can be modified by using the authorization-attribute work-directory
command.
lan-access: Authorizes the user to use the LAN access service. The users are mainly Ethernet users, for
example, 802.1X users.
28

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents