JUNOS Software has predefined login
classes that you assign to all users:
- Operator
- Read-only
- Super-user
- Unauthorized
.
Using Predefined Login Classes
You can apply a login class when creating a new user account or to an existing user account.
To apply a login class to an existing user account:
You can apply a login class when creating a new user account or to an existing user account.
To apply a login class to an existing user account:
- Select Configure>System Properties>User Management.
- Click Edit.
- In the Edit User Management dialog box, select a username, and click Edit.
- In the Login class list, select the level of permission for executing commands for the user.
- Click OK.
- In the Edit User Management dialog box, click OK.
Creating a New Admin User
To create a new admin user with super-user privileges:
- Select Configure>System Properties>User Management.
- Click Edit.
- In the Edit User Management dialog box, click Add.
- In the User name box, type the username of the user (for example, jlee).
- In the Password box, type the password for the user.
- In the Confirm password box, type the user password again.
- In the Login class list, select the level of permission for executing commands for the user (in this example, super-user).
- Click OK.
- In the Edit User Management dialog box, click OK.
If you are finished configuring the device, click Commit to
commit the configuration.
Using Predefined Login Classes
You can review the available login classes by using the following command:
user@host# set system login user labuser class ?
Possible completions:
<class> Login class
operator permissions [ clear network reset trace view ]
read-only permissions [ view ]
super-user permissions [ all ]
unauthorized permissions [ none ]
In the following example, you apply the operator login class to the user with the username of csmith:
user@host# set system login user csmith class operator
Creating a New Admin User
To create a new admin user, create a login user with super-user privileges:
- Create a user account named jlee, which has super-user privileges.
user@host# set system login user jlee class super-user authentication plain-text-password
- Enter the password for the user, and enter the password again. The password does not appear as you type.
New
password:
Retype new password:
Retype new password:
No comments:
Post a Comment