ON THIS PAGE
Step 2: Up and Running
Now that the initial configuration of Junos OS is complete, you're ready to configure user accounts. This will let other people access the device to make changes.
Configuring User Accounts
User accounts allow access to the device. You add new user accounts to the device's local database. For each account, you define a login name and password for the user, and specify a login class for access privileges. You can define any number of login classes. The login password must meet the following criteria:
The password must be at least six characters long.
You can include most character classes in a password (alphabetic, numeric, and special characters), but not control characters.
The password must contain at least one change of case or character class.
In this example, we show you how to create and configure a super-user account with a login class named operator-and boot.
This example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.
To configure user accounts:
- Set the name of the login class and allow the use of the
reboot command.[edit system login]root@ hostname# set class operator-and-boot allow-commands “request system reboot”
- Set the permission bits for the login class.[edit system login]root@ hostname# set class operator-and-boot permissions [clear network reset trace view]
- Define the username, bind the user to the operator-and-boot class, and configure a pre-encrypted password for the user.
Note In the below step you are entering a pre-encrypted password. You can use the plain-text-password argument if you prefer to enter a clear text password that will then be encrypted.
[edit system login]root@ hostname#set user name class operator-and-boot authentication encrypted-password $1$ABC123
From configuration mode, enter the show system login command to confirm your configuration. If the output doesn’t display the intended configuration, repeat the configuration instructions in this example to correct it.
If you are done configuring the device, enter commit to apply and save the configuration.
J-Web
If you'd prefer to configure and manage your device using a graphical user interface (GUI) rather than a CLI, J-Web is your ticket. J-Web is a simple GUI that lets you easily visualize and manage the Juniper devices (SRX, EX, and MX Series) on your network. J-Web uses the same commands as the Junos OS CLI.
For more information about J-Web, see: