User roles
A user is assigned user roles at login. The user roles specify the commands that the user can execute. For more information about user roles, see "Configuring RBAC."
The device assigns user roles based on the login authentication mode, user type, and login method.
In none or password authentication mode, the device assigns the user roles specified for the user line.
In scheme authentication mode, the device uses the following rules to assign user roles:
For an SSH login user who uses publickey or password-publickey authentication, the device assigns the user roles specified for the local device management user with the same name.
For other users, the device assigns user roles according to the user role configuration of the AAA module. If the AAA server does not assign any user roles and the default user role feature is disabled, a remote AAA authentication user cannot log in.