Service-Type - HP 5920 Command Reference Manual

Table of Contents

Advertisement

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. The user can use the root directory of the FTP server by
default. 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. Such users are mainly Ethernet users, for
example, 802.1X users.
ssh: Authorizes the user to use the SSH service.
telnet: Authorizes the user to use the Telnet service.
terminal: Authorizes the user to use the terminal service, allowing the user to log in from a console port.
Usage guidelines
You can assign multiple service types to a user.
Examples
# Authorize the device management user user1 to use the Telnet and FTP services.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] service-type telnet
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

59005920 series5900 series

Table of Contents