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:
- [edit]
- user@host # edit system login user user
For example:
- [edit]
- user@host # edit system login user myadmin
- [edit system login user myadmin]
- user@host # set class class
For example:
- [edit system login user myadmin]
- user@host # set class super-user
- [edit system login user myadmin]
- user@host # set full-name “John Doe”
- [edit system login user myadmin]
- user@host# set level expert
- [edit system login user myadmin]
- user@host # set complete-on-space on
- [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;
- [edit]
- user@host# edit system login user myadmin
authentication
- [edit system login user myadmin authentication]
- user@host# set plain-text-password