Using File Access Control Lists (ACLs) on RHEL 8

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

While the traditional method (ugo/rwx) of permissions is generally useful for providing access to files and directories, sometimes we need a little more. Access Control Lists (ACLs) give us finer-grained control of Linux filesystem permissions. In this hands-on lab, we will create and use file access control lists 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:

Configure a Shared Directory for Collaboration
  1. Configure a directory for collaboration using ACL’s.
  2. Grant Users additional permissions to the directory.
  3. Test user’s access by creating files.
Remove a Current User’s Permissions to the Shared Directory
  1. Backup the directory Access Control List permissions.
  2. Remove a user’s access the directory.
  3. Restore the directory permissions.

Additional Resources

In this lab, you'll be investigating how to configure a user-owned directory for multiple users, to collaborate using Access Control Lists. You'll investigate the user's group membership, pick a group to grant access by and then after configuring access for the group, configure the users access, and test to make sure everything works.

You'll then have a user that needs to have access restricted, so you'll backup the Access Control List permissions for the directory, restrict the user, test that it worked, and then restore the access back to the user.

Red Hat Exam Requirements Covered:

  • Create and use file access control lists

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?