Managing Users, Groups, and Superuser Access on RHEL 8

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Managing local users and groups is a key skill for any system administor. In this hands-on lab, we will create, delete, and modify local user accounts, change local user account passwords and adjust password aging, as well as create, delete, and modify local groups and group memberships on RHEL 8. Sometimes we need to give a user account elevated access to one or more commands, but we don’t want to give them ‘root’ privileges, or access to an application user account. Fortunately, we can do this via the ‘sudo’ utility. Understanding how to configure ‘sudo’ properly is an important skill for system administrators. will examine how to configure superuser access using ‘sudo’ on RHEL 8.

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create, Delete, and Modify Local User Accounts
  1. Create two user accounts for Contract Employees.
  2. Change the user’s passwords.
  3. Set Password Aging for one of the users.
Create, Delete, and Modify Local Groups and Group Memberships
  1. Create two custom local groups.
  2. Modify the group information.
  3. Modify group membership via the User Account and Group.
Configure Superuser Access
  1. Create a test account and configure it’s access to user management tools.
  2. Use the test account to create an admin_user account.
  3. Add that user to the same user management alias.
  4. Test the admin_user account’s elevated privileges.

Additional Resources

In this lab, you are a sysadmin who needs to setup a number of user accounts, their respective passwords, and configure various password aging settings. You'll then continue with group creation and alteration, including changing user's primary, and secondary group membership.

You'll then need to configure a test user, and set that user up in sudo's /etc/sudoers file to have access to account management utilities. From there, use the test user to create the admin_user, and test their privilege elevation capabilities.

Red Hat Exam Requirements Covered:

  • Create, delete, and modify local user accounts
  • Change passwords and adjust password aging for local user accounts
  • Create, delete, and modify local groups and group memberships
  • Configure superuser access

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?