Create a user with a granular administrative role.
Outcomes
Create a Satellite role.
Create a Satellite user.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start maintain-user
Instructions
The Operations organization wants to delegate user administration to specific Satellite users without permitting other Satellite Administrator privileges.
A designated Satellite user can create users and view existing users, but is not permitted to delete users, within the Operations organization.
Create an ops-user-admin role.
Create a user-admin user with redhat as the password in the Operations organization.
Then, assign the ops-user-admins role.
Use the user-admin user to test creating an example intern034 user with default permissions.
Verify that the user-admin user cannot delete users.
Log in to the Satellite Server web UI, https://satellite.lab.example.com, as the admin user with redhat as the password.
In the upper-left corner of the web page, set the organization to Operations.
Set the location to Any Location.
Create the ops-user-admin role by cloning the System admin role, and then by editing the cloned role.
Click → . Only the first 20 predefined roles are displayed. The roles with a lock icon cannot be changed, and must be cloned to create a role with similar privileges.
In the list of roles, locate the predefined System admin role that manages users, roles, organizations, locations, and other resources.
In the System admin row, click the down-arrow icon to the right of the button, and then select from the list.
In the Create Role page, enter ops-user-admin in the field.
In the selection tool, click the Operations organization to move it to the list.
Leave the other fields unchanged, and then click .
Restrict the ops-user-admin role to create and edit but not delete users.
In the Roles table, locate the ops-user-admin role and click .
The role resource page is displayed.
Keep the , , , , , and resources. Remove the other resources from the role's filter table. For each resource, select from the list in the column, and then click .
Modify the resource by clicking on the resource row. Keep the and permissions in the list. Remove the other permissions by clicking each permission to move it to the list. Click .
Modify the resource by clicking on the resource row. Keep the permissions in the list. Remove the other permissions by clicking each permission to move it to the list. Click .
Modify the resource by clicking on the resource row. Keep the and permissions in the list. Remove the other permissions by clicking each permission to move it to the list. Click .
Modify the resource by clicking on the resource row. Keep the , , and permissions in the list. Remove the other permissions by clicking each permission to move it to the list. Click .
Create a user-admin user with redhat as the password.
Restrict the account to access only the Operations organization.
Assign the ops-user-admin role to the user-admin user.
Click → , and then click . On the tab, enter the information for the following fields. Leave the other fields unchanged.
| Field | Value |
|---|---|
user-admin
| |
root@satellite.lab.example.com
| |
INTERNAL
| |
redhat
| |
redhat
|
Click the tab.
Edit the organizations so that the Operations organization is in the list, and all other organizations are in the list.
Select Operations in the list.
Click the tab.
Click to move it to the list.
Select Boston in the field.
Click .
Click the tab. Click to move it to the list. Click .
Log in as the user-admin user and test the ops-user-admin role by creating the intern034 user.
In the Satellite web UI, log out of the admin user.
Log in as the user-admin user with redhat as the password.
A "Permission denied" screen is displayed, because the user-admin user does not have permission for the default → page.
Only the , , and menus are available to this user.
In the upper-left corner of the web page, set the organization to Operations.
Set the location to Boston.
Click → .
Only the user-admin user appears in the list, because this user can view only the users in the Operations organization.
Click . On the tab, enter the information for the following fields. Leave the other fields unchanged.
| Field | Value |
|---|---|
intern034
| |
root@satellite.lab.example.com
| |
INTERNAL
| |
temp123
| |
temp123
|
Click the tab. Click to move it to the list. Click .
Test the intern034 user.
In the Satellite web UI, log out of the user-admin user.
Log in as the intern034 user with temp123 as the password.
The intern034 user has access to a limited menu.
The menu includes only the , , , , and tabs.
Log out of the intern034 account.