Create a User Profile
Create new users for the System Admin LXC. 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 LXC console, based on assigned privileges.
The router supports a maximum of 1024 user profiles.
Note |
Users created in the System Admin LXC are different from the ones created in XR LXC. As a result, the username and password of a System Admin LXC user cannot be used to access the XR LXC, and vice versa. |
XR VM and System Admin VM User Profile Synchronization
When the user profile is created for the first time in XR VM, the user name and password are synced to the System Admin VM if no user already exists in System Admin VM.
However, the subsequent password change or user deletion in XR VM for the synced user is not synchronized with the System Admin VM.
Therefore, the passwords in XR VM and System Admin VM may not be the same. Also, the user synced with the System Admin VM will not be deleted if the user is deleted in XR VM.
The root-lr user of XR LXC can access the System Admin LXC by entering Admin command in the XR EXEC mode. The router does not prompt you to enter any username and password. The XR LXC root-lr user is provided full access to the System Admin LXC.
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
- commit
DETAILED STEPS
Step 1 |
admin Example:
Enters 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 LXC. |
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 |
commit |
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.