Create a User Profile
Create new users for the System Admin VM. Users are included in a user group and assigned certain privileges. The users have restricted access to the commands and configurations in the System Admin VM console, based on assigned privileges.
The router supports a maximum of 1024 user profiles.
Note |
Users created in the System Admin VM are different from the ones created in XR VM. As a result, the username and password of a System Admin VM user cannot be used to access the XR VM, and vice versa. |
The root-lr user of XR VM can access the System Admin VM by entering Admin command in the XR EXEC mode. The router does not prompt you to enter any username and password. The XR VM root-lr user is provided full access to the System Admin VM.
If you access the System Admin VM by directly connecting to the System Admin VM console port or System Admin VM management port, you will be prompted to enter the System Admin username and password that is created in this task.
SUMMARY STEPS
- admin
- config
- aaa authentication users user user_name
- password password
- uid user_id_value
- gid group_id_value
- ssh_keydir ssh_keydir
- homedir homedir
- Use the commit or end command.
DETAILED STEPS
Step 1 |
admin Example:
Enters System Admin EXEC mode. |
Step 2 |
config Example:
Enters System Admin Config mode. |
Step 3 |
aaa authentication users user user_name Example:
Creates a new user and enters user configuration mode. In the example, the user "us1" is created. |
Step 4 |
password password Example:
Enter the password that will be used for user authentication at the time of login into System Admin VM. |
Step 5 |
uid user_id_value Example:
Specify a numeric value. You can enter any 32 bit integer. |
Step 6 |
gid group_id_value Example:
Specify a numeric value. You can enter any 32 bit integer. |
Step 7 |
ssh_keydir ssh_keydir Example:
Specify any alphanumeric value. |
Step 8 |
homedir homedir Example:
Specify any alphanumeric value. |
Step 9 |
Use the commit or end command. commit —Saves the configuration changes and remains within the configuration session.
|
What to do next
-
Create user group that includes the user created in this task. See Create a User Group.
-
Create command rules that apply to the user group. See Create Command Rules.
-
Create data rules that apply to the user group. See Create Data Rules.