Automatically obtaining the login username for temporary user role authorization

About automatic obtaining of the login username for temporary user role authorization

This feature is applicable only to the login from a user line that uses scheme authentication, which requires a username for login. This feature enables the device to automatically obtain the login username when the login user requests a temporary user role authorization from a remote authentication server.

Configuration restrictions and guidelines

If the user was logged in from a user line that uses password authentication or no authentication, the device cannot obtain the login username. The request for temporary user role authorization from a remote authentication server will fail.

This feature does not take effect on local password authentication for temporary user role authorization.

Configuration procedure

To enable the device to automatically obtain the login username when a login user requests temporary user role authorization from a remote authentication server:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the device to automatically obtain the login username when a login user requests temporary user role authorization from a remote authentication server.

super use-login-username

By default, the device requests a username at the prompt when a login user requests temporary user role authorization from a remote authentication server.