54
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 or USB user is assigned the network-admin user role. Other users 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 not supported in user line view or user line class view. If you do not specify this argument,
the
undo user-role
command restores the default user role.
Usage guidelines
This command is not supported in FIPS mode.
Only users assigned 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 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 RBAC configuration in
Fundamentals Configuration
Guide
.
Examples
# Assign user role network-admin to AUX line 0.
<Sysname> system-view
[Sysname] line aux 0
[Sysname-line-aux0] user-role network-admin
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...