RHCSA lab project demonstrating Linux user management, groups, permissions, ACLs, sudo (wheel group), password aging, and umask using AlmaLinux.
| Component | Details |
|---|---|
| OS | AlmaLinux / RHEL |
| Shell | Bash |
| Users | bibin, reuben |
| Directory | /projects |
- Create and manage users
- Create and manage groups
- Configure shared directories
- Manage Linux permissions
- Configure special permissions (SGID)
- Configure ACL
- Configure password aging
- Configure sudo using wheel group
- Configure default file permissions using umask
Create two users.
useradd bibin
useradd reubenSet passwords.
passwd bibin
passwd reubenVerify users.
id bibin
id reubenCreate a group called developers.
groupadd developersVerify group.
getent group developersAdd users to developers group.
usermod -aG developers bibin
usermod -aG developers reubenVerify membership.
id bibin
id reubenCreate a shared directory.
mkdir /projectsChange group ownership.
chown :developers /projectsSet permissions.
chmod 770 /projectsVerify.
ls -ld /projectsEnable SGID so files inherit group ownership.
chmod g+s /projectsVerify.
ls -ld /projectsExpected output example:
drwxrws---
Switch to user bibin.
su - bibinCreate a file.
touch /projects/project1.txtVerify.
ls -l /projectsSwitch to root and create a file.
touch /projects/design.txtGive reuben read permission.
setfacl -m u:reuben:r /projects/design.txtVerify ACL.
getfacl /projects/design.txtCheck current password policy.
chage -l reubenSet password aging.
chage -m 5 -M 90 -W 7 reubenVerify again.
chage -l reubenEdit sudo configuration.
visudoEnsure this line is enabled:
%wheel ALL=(ALL) ALL
Add user bibin to wheel group.
usermod -aG wheel bibinVerify.
id bibinSwitch to user.
su - bibinBecome root using sudo.
sudo -iVerify.
whoamiExpected output:
root
Check current umask.
umaskSet a new mask.
umask 027Create test file.
touch umask_test.txt
ls -l umask_test.txtuseradd
usermod
groupadd
chmod
chown
setfacl
getfacl
chage
visudo
umask
This lab demonstrates core Linux system administration tasks related to user and permission management. By completing this project on AlmaLinux, I gained practical experience with user accounts, groups, file permissions, ACLs, password policies, and sudo configuration—key skills required for the RHCSA certification and real-world Linux administration.











