
This course contains the use of artificial intelligence.
Stop guessing with chmod 777: learn to control exactly who can read, write, and run everything on your Ubuntu server.
Who this course is for
Aspiring Linux system administrators and DevOps beginners
Developers who deploy to Ubuntu servers and keep hitting “Permission denied”
IT support staff who create and remove user accounts
Students preparing for Linux certifications (LPIC, CompTIA Linux+, RHCSA-style skills)
Home-lab users who want a secure multi-user server
What you will learn
Create, modify, lock, expire, and delete users and groups with useradd, usermod, groupadd, and gpasswd
Provision many accounts at once with a safe, repeatable Bash script
Read and set file permissions in symbolic and octal form with chmod, chown, and umask
Understand why directories need the execute bit and diagnose failures with namei
Build shared team folders with the setgid bit and protect drop folders with the sticky bit
Find and audit risky setuid, setgid, and world-writable files
Write least-privilege sudo rules with visudo and /etc/sudoers.d
Enforce password aging and password quality with chage and pwquality
Grant per-user and per-group access with ACLs, default ACLs, and the ACL mask
Offboard an employee safely without losing their data
Requirements
A computer that can run an Ubuntu 22.04 or 24.04 virtual machine (VirtualBox, Multipass, or a cloud server)
Basic comfort opening a terminal; no prior Linux administration needed
Final project
You will secure a department file server from scratch. You create users and groups with the provisioning script, build private HR, Finance, and IT folders with correct modes and setgid, give IT read-only audit access with ACLs, and allow IT to restart one service through a scoped sudo rule. You then apply password aging, run the audit commands, and offboard a user. You submit your audit output as proof that the server is locked down.