[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Defining Login Classes

You can define any number of login classes. You then apply one login class to an individual user account, as described in Creating User Accounts and Setting Up Template Accounts.

The procedure provided in this section creates a sample login class named operator-and-boot with the following privileges:

To define login classes:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 43.
  3. If you are finished configuring the network, commit the configuration.
  4. Go on to one of the following procedures:

Table 43: Defining Login Classes

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the System Login level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to System, click Configure or Edit.
  3. Next to Login, click Configure or Edit.

From the [edit] hierarchy level, enter

edit system login

Create a login class named operator-and-boot with the ability to reboot the device.

  1. Next to Class, click Add new entry.
  2. Type the name of the login class:

    operator-and-boot

  3. In the Allow commands box, type the request system reboot command enclosed in quotation marks:

    “request system reboot”

  4. Click OK.

Set the name of the login class and the ability to use the request system reboot command:

set class operator-and-boot allow-commands “request system reboot”

Give the operator-and-boot login class operator privileges.

  1. Next to Permissions, click Add new entry.
  2. In the Value list, select clear.
  3. Click OK.
  4. Next to Permissions, click Add new entry.
  5. In the Value list, select network.
  6. Click OK.
  7. Next to Permissions, click Add new entry.
  8. In the Value list, select reset.
  9. Click OK.
  10. Next to Permissions, click Add new entry.
  11. In the Value list, select trace.
  12. Click OK.
  13. Next to Permissions, click Add new entry.
  14. In the Value list, select view.
  15. Click OK.

Set the permission bits for the operator-and-boot login class:

set class operator-and-boot permissions [clear network reset trace view]


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]