Skill · Linux · Harden a Linux server against a baseline
Harden a server's access and privileges: SSH, PAM, sudo, permissions and scheduling
Restrict access to a server: hardened sshd, account lockout with PAM, logged sudo, sensitive permissions fixed and scheduling limited to authorized accounts.
Start lesson 1The Linux domain
- 5 lessons
- ~2 h 05 of reading
- 5 quizzes
- 0 proof lab
The path
Where it comes from, where it leads
What you need to know first, where you stand on this skill, and what it opens next. Your status is computed in your browser, from what you have read and passed.
Before · 2 prerequisites
Recommended before · 2
This skill, for you
Harden a server's access and privileges: SSH, PAM, sudo, permissions and scheduling
Computing
It unlocks · nothing yet
No other skill requires it: it is an end-of-path skill.
The path through the foundations From the most upstream foundation to this skill: what is in place, what remains to read.
Lessons
How to learn it
5 lessons, about ~2 h 05, in program order. Each lesson ends with its quiz.
The program
5 lessons · ~2 h 05
Beyond the lessons
Assess, practise, pass the proof
Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.
Assess yourself
5 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Proof
No proof
Neither a challenge nor a mission with a proof yet.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
- Linux Administrator
- RHCSA (EX200, RHEL 10)
In red: the certification it prepares for.
Taught by
Same block · Harden a Linux server against a baseline
- Measure a server's gap to a hardening baseline and prioritize the measures (ANSSI-BP-028, CIS)
- Harden boot, mounts and the local session: GRUB, nodev, nosuid, noexec, banners, dconf
- Harden the running kernel: persistent sysctl parameters and blocked modules
- Confine a service: mandatory access control (SELinux or AppArmor), then systemd sandboxing
- Trace who did what on a Linux server with auditd: persistent rules, ausearch and aureport
- Rebuild a KSPP-hardened kernel and prove its options at boot
- Harden a NixOS server declaratively: versioned measures, test before switching, runtime checks and rollback to a healthy generation