[Contents][Prev][Next][Index][Report an Error]
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:
- 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
- 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
- Specify the name of the administrative
user.
- [edit system login user myadmin]
- user@host # set full-name “John Doe”
- Set the CLI editing level to expert.
- [edit system login user myadmin]
- user@host# set level expert
- (Optional) Specify that a space be used
for command completion.
- [edit system login user myadmin]
- user@host # set complete-on-space on
- 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;
- 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
[Contents][Prev][Next][Index][Report an Error]