Adding an Admin User Account

Although root access is used for initial configuration of the system, user accounts are used to enter commands and statements at the CLI. Therefore, you must set up an admin account to allow further configuration. You can use a built-in class, such as super-user.

To configure an account for an administrative user:

  1. Create an account for an administrative user.
    [edit]user@host # edit system login user user

    For example:

    [edit]user@host # edit system login user myadmin
  2. Set the class for the administrative user to the login class that you created.
    [edit system login user myadmin] user@host # set class class

    For example:

    [edit system login user myadmin] user@host # set class super-user
  3. Specify the name of the administrative user.
    [edit system login user myadmin]user@host # set full-name “John Doe”
  4. Set the CLI editing level to expert.
    [edit system login user myadmin] user@host# set level expert
  5. (Optional) Specify that a space be used for command completion.
    [edit system login user myadmin] user@host # set complete-on-space on
  6. Verify that the configuration for the administrative user is correct.
    [edit system login user myadmin] user@host# show class super-user; full-name "John Doe"; uid 506; gid 100; level expert; complete-on-space on;
  7. Set the password of the user.
    [edit] user@host# edit system login user myadmin authentication [edit system login user myadmin authentication] user@host# set plain-text-password