Capstone: a small Linux troubleshooting runbook
Put users, permissions, processes and logs together by diagnosing a real problem and writing down how you did it. A runbook is a short written procedure someone else could follow.
The capstone labs
- Understand inodes and hard links, then find the deleted file that still fills your disk: You diagnose a disk that looks full with almost nothing visible, using file, process and log skills from every unit.
- Write a least-privilege sudoers policy that grants one command, not the keys: You grant one person exactly the commands they need and nothing more, tying together users, permissions and logs.
Write it down
- After the first lab, write a runbook of five to eight numbered steps for 'the disk is full but I cannot find the big files'. Use commands you ran.
- After the second lab, write two sentences on why granting one command is safer than granting full root, and where you would look afterwards to see what the user ran.
You are done when
- You can walk a colleague through diagnosing a full disk using only commands you have run.
- You can explain least privilege on a Linux system with one concrete example from your labs.
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.
Back to Operating systems and the command line.