Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

This chapter describes the configuration of  local authentication.

When the remote authentication and authorization is not used, the local authentication and authorization is configured, the access users are authenticated and authorized based on the local user information.

Configuring Local Authentication

Step1         Enable local authentication.

    set system aaa local disable <true | false>

Step2         Commit the configuration.

    commit

Configuring a Local User

When local authentication is configured, configure authentication and authorization information on the device, including the user name, password, and user level.

Step1         Configure a local user account.

   set system login user <username> authentication plain-text-password <password>

Step2         Configure user permission classification.

    set system login user <username> class <read-only | super-user>

    By default, the newly created user is read-only.

Step3         Commit the configuration.

    commit

Example for Configuring Local Authentication

Step1         Enable local authentication.

admin@XorPlus# set system aaa local disable false

Step2         Commit the configuration.

admin@XorPlus# commit

Step3         You can use the show system aaa local command to view the configuration information of local authentication.

admin@XorPlus# show system aaa local
disable: false

Example for Configuring a Local User

Step1         Configure a local user account manager.

admin@XorPlus# set system login user manager authentication plain-text-password 123456

Step2         Configure the user permission classification as super-user for user account manager.

admin@XorPlus# set system login user manager class super-user

Step3         Commit the configuration.

admin@XorPlus# commit
  • No labels