In this hands-on lab, we will practice working with user and group IDs. Understanding how user IDs function gives you the knowledge needed to prevent ID collisions with external authentication sources.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Determine the UID Scheme
- Run the following command:
cat /etc/passwd
- Determine the UID range for system users (
root
,chrony
, etc.). - Determine the UID range for standard users (
cloud_user
,jbillings
, etc.). - Determine the absolute highest UID value for the current users.
- Choose a higher value for where UIDs on a remote host should begin.
- Run the following command:
- Determine the GID Scheme
- Run the following command:
cat /etc/group
- Determine the highest GID value.
- Choose a higher value for where GIDs on a remote host should begin.
- Run the following command: