Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux Security Hardening & Auditing: Practical Course
Rating: 3.7 out of 5(4 ratings)
26 students

Linux Security Hardening & Auditing: Practical Course

From SSH Basics to PAM, Kernel Options, File Integrity and Logging — on Debian and Ubuntu, With Lynis
Last updated 9/2026
English
English [Auto],

What you'll learn

  • Harden Debian and Ubuntu servers systematically — from SSH access to the kernel options
  • Secure SSH: key login instead of a password, port, keep-alive and the options that matter
  • Set up a packet filter with ufw and understand the rules it writes into the kernel
  • Configure automatic security updates with unattended-upgrades and have the report mailed out
  • Install the Lynis security tool, run audits and use the hardening index as a measurement
  • Sort Lynis findings: separate warnings from suggestions and rank them by effort and effect
  • Harden authentication: password policy, PAM modules and accounts nobody needs any more
  • Set kernel options through sysctl: network packets, memory protection and what Lynis checks
  • Establish logging and traceability: auditd, process accounting and sysstat
  • Check file integrity with AIDE, switch off services and protect the boot loader with a password

Course content

5 sections • 27 lectures • 3h 13m total length
  • Introduction1:08
  • About the Course0:59

Requirements

  • NO prior knowledge of security required.
  • Basic Linux administration skills are helpful (terminal, package management).
  • A Debian or Ubuntu test machine to follow the steps yourself.

Description

*This course contains the use of artificial intelligence.

Welcome to “Linux Security Hardening & Auditing: Practical Course”!

Do you want to audit your Linux servers and harden them systematically? Then this course is exactly right for you!

We start with the basics: SSH access gets a key instead of a password, a packet filter goes in front of it and security updates are installed automatically. From there we move on to the topics that usually get left behind — PAM, kernel options, file integrity and logging.

Throughout, we work with Lynis, the security tool that  audits Linux systems test by test and sorts its findings into warnings and suggestions. You learn to rank those findings, work through them and read the hardening index as a measurement before and after.

All of this is demonstrated in live demos on real systems – not in lengthy presentations. Every step runs on screen, with the commands, the output and the reasoning behind it.

Our agenda covers topics such as:

  • Harden Debian and Ubuntu servers systematically — from SSH access to the kernel options

  • Secure SSH: key login instead of a password, port, keep-alive and the options that matter

  • Set up a packet filter with ufw and understand the rules it writes into the kernel

  • Configure automatic security updates with unattended-upgrades and have the report mailed out

  • Install the Lynis security tool, run audits and use the hardening index as a measurement

  • Sort Lynis findings: separate warnings from suggestions and rank them by effort and effect

  • Harden authentication: password policy, PAM modules and accounts

  • Set kernel options through sysctl: network packets, memory protection and what Lynis checks

  • Establish logging and traceability: auditd, process accounting and sysstat

  • Check file integrity with AIDE, switch off services and protect the boot loader with a password

This course gives you directly applicable knowledge that makes your servers measurably safer.

So take this opportunity and enrol now, to bring your Linux systems to a solid security level!

Who this course is for:

  • Systems administrators and DevOps engineers who want to secure their Linux servers systematically.
  • Systems administrators and DevOps engineers who want to run audits and work through the findings.