HP MSR2000/3000/4000 Router Series Security Command Reference
36
Examples
# Set the password of the device management user user1 to 123456TESTplat&! in plain text.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] password simple 123456TESTplat&!
# 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 :
Updating user information. Please wait... ...
# Set the password of the network access user user2 to 123456TESTplat&! in plain text.
<Sysname> system-view
[Sysname] local-user user2 class network
[Sysname-luser-network-user2] password simple 123456TESTplat&!
Related commands
• display local-user
• local-user password-display-mode
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 } * | portal | ppp }
undo service-type { ftp | lan-access | { ssh | telnet | terminal } * | portal | ppp }
In FIPS mode:
service-type { lan-access | { ssh | terminal } * | portal | ppp }
undo service-type { lan-access | { ssh | terminal } * | portal | ppp }
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.