0 of 16 lessons done
Course classroom
CompTIA Linux+ XK0-006

Day 12 of 15

Day 12 · Server security

An audit report with real findings: close ports, harden SSH and accounts, encrypt, and leave evidence behind.

⏱ 2 hours 🧪 22 terminal tasks ✅ 14 review questions 🔒 Part of the full course

By the end of this day you will be able to

  • Explain authentication, authorization and accounting with PAM, SSSD, LDAP and Kerberos.
  • Configure firewalls with ufw and firewalld (zones, rich rules, masquerading and port forwarding), and read iptables and nftables rules.
  • Harden the system: minimal services, secure SSH, SUID, and SELinux in Enforcing mode with contexts, ports and booleans.
  • Apply password policies, account lockout, MFA and sudo with least privilege.
  • Retire weak algorithms, manage certificates (CSR, chain, formats, trust store) and explain LUKS and WireGuard.
  • Audit with auditd, rsyslog, logrotate, file integrity checks and benchmarks.

Topics

  • AAA: PAM, SSSD, Kerberos, Polkit and RADIUS
  • Logs: /var/log, rsyslog and logrotate
  • ufw, firewalld zones, iptables and nftables
  • NAT, masquerading and port forwarding
  • Secure sshd_config, chrooted SFTP and fail2ban
  • SELinux in practice, and AppArmor
  • Password policies, chage and faillock
  • sudo with least privilege
  • Crypto policies, certificates, GPG and LUKS
  • auditd, AIDE and CIS Benchmarks

This lesson is part of the full course

It includes the full explanation, 22 terminal tasks that check themselves and 14 review questions. If you already bought the course, sign in and pick up where you left off.

Full course: $99 (regular price $149) · one payment · 12 months of access

Already paid? Sign in with the email you used to buy: we send you a 6-digit code, no password.

Want to try it first? Take a free trial of the course. Questions? Message us on WhatsApp.

Loading your lesson…

Go to the course classroom

See all the lessons in the course

The companies, people and data in the course stories are fictional; any resemblance to reality is coincidental.