
·9 min read
Ubuntu Server Security: The Pragmatic Linux Hardening Checklist
Production Ubuntu server hardening guide: SSH key enforcement, UFW firewalls, Fail2ban intrusion prevention, unattended upgrades, and auditd logging.
Stories, tutorials, and deep dives spanning across diverse worlds.

Production Ubuntu server hardening guide: SSH key enforcement, UFW firewalls, Fail2ban intrusion prevention, unattended upgrades, and auditd logging.

After a kernel update, my Ubuntu desktop took 2–3 minutes to appear after login. The culprit was a DRM modeset ownership fight between nvidia-drm and Xorg. Here's how I fixed it in 10 seconds.

Spent three days chasing a two-minute login freeze on Ubuntu. Turns out it wasn't one bug - it was three separate issues stacking up: NetworkManager waiting for network, gnome-keyring starting twice, and snapd adding two minutes for 18 snaps. Here's the full debugging trail.