User-Role - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

3.
Press Enter.
Pressing Enter does not start a session.
4.
Enter s.
A terminal session is started.
<Sysname>
Related commands
user-interface

user-role

Use user-role to assign a user role to a user line. The device assigns the user role to a user of the
line when the user logs in.
Use undo user-role to remove a user role or restore the default.
Syntax
user-role role-name
undo user-role [ role-name ]
Default
A console line user is assigned the network-admin user role. Users of other user lines are assigned
the network-operator user role.
Views
User line view
User line class view
Predefined user roles
network-admin
Parameters
role-name: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role
can be user-defined or predefined. Available predefined user roles include network-admin,
network-operator, and level-0 to level-15. The predefined security-audit and guest-manager user
roles are available only in local user view. If you do not specify this argument, the undo user-role
command restores the default user role.
Usage guidelines
Only users assigned with the network-admin or level-15 user role can execute this command. Other
users cannot execute this command, even if they are granted the right to execute this command.
This command is not supported in FIPS mode.
This command is available in both user line view and user line class view. A non-default setting in
either view takes precedence over a default setting in the other view. A non-default setting in user
line view takes precedence over a non-default setting in user line class view.
A user role change does not take effect for the current session. It takes effect for subsequent login
sessions.
You can assign up to 64 user roles to a user line.
For more information about user roles, see "Configuring RBAC."
Examples
# Assign the network-admin user role to AUX line 0.
<Sysname> system-view
105

Advertisement

Table of Contents
loading

Table of Contents