Create a User Profile in System Admin VM
Note |
Only the following Cisco NCS 540 router variants support the System Admin mode:
For information on how to create user profiles and assign privileges on other Cisco NCS 540 router variants, see the Create Users and Assign Privileges on Cisco NCS 540 Series Router section in the Setup Cisco NCS 540 Series Routers with XR7 OS chapter. |
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.
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.
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 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 in System Admin VM.
-
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.