Linux security
17 articles
-
How to Configure AppArmor on Linux: Profiles, Modes, and Real Fixes
Learn how to configure AppArmor on Linux—check status, create custom profiles, switch between modes, and harden your system with real command examples.
-
How to Configure SELinux on Linux: Modes, Contexts, and Real-World Fixes
Learn how to configure SELinux on Linux: check and switch modes, manage file contexts, troubleshoot denials, and use booleans to harden your servers.
-
Best Open Source Password Manager in 2026: I Tested 6 on My Homelab
I tested 6 open source password managers on my Linux homelab in 2026—Bitwarden, Vaultwarden, KeePassXC, Proton Pass, and more. Here's which one I actually kept.
-
How to Use LUKS Disk Encryption on Linux (Step-by-Step)
Learn to encrypt disks and partitions with LUKS on Linux using cryptsetup. Covers LUKS2 setup, key management, header backup, and auto-mount at boot.
-
Best Linux Security Tools in 2026: 7 I Run on Every Server
Protect your Linux server with these 7 open source security tools I personally run on every box. From Lynis auditing to Fail2ban, rkhunter, and Suricata IDS.
-
How to Edit the Sudoers File in Linux: Manage sudo Permissions Safely
Learn how to edit the sudoers file in Linux using visudo, grant precise sudo permissions, use NOPASSWD, and avoid common misconfigurations that lock you out.
-
How to Install Let’s Encrypt on Linux with Certbot (Step-by-Step)
Learn how to install Let's Encrypt SSL on Linux with Certbot for Nginx. Get a free certificate, set up auto-renewal, and secure your server in minutes.
-
How to Use openssl in Linux: The Command Every Sysadmin Needs
Learn how to use the openssl command in Linux for certificate inspection, key generation, SSL testing, and file encryption. Complete sysadmin guide with examples.
-
SSH Tunneling in Linux: Local, Remote, and Dynamic Port Forwarding
Learn SSH tunneling in Linux with real command examples. Master local, remote, and dynamic port forwarding to secure your connections like a pro.
-
How to Use sysctl in Linux: Tune Kernel Parameters Like a Pro
Learn how to use sysctl in Linux to read, modify, and persist kernel parameters. Covers vm.swappiness, network tuning, security hardening, and /etc/sysctl.conf.
-
How to Use iptables in Linux: The Firewall Tool Every Admin Needs
Master iptables firewall in Linux with practical examples for SSH, HTTP security. Learn chains, tables, rules from a sysadmin who locked herself out twice.
-
How to Understand Linux File Permissions: The Complete Beginner’s Guide
Master Linux file permissions with this complete guide. Learn to read rwx notation, avoid chmod 777 mistakes, and secure your system properly.
-
How to Set Up fail2ban on Linux: Protect Your Server from Brute Force Attacks
Learn how to set up fail2ban on Linux to automatically block brute force attacks. Complete guide with installation, configuration, and troubleshooting for Ubuntu, Debian, and CentOS.
-
How to Check Listening Ports in Linux: The Security Command You Need to Know
Learn how to check listening ports in Linux using ss, netstat, and lsof. Master port monitoring for security and troubleshooting in 2025.
-
How to Configure UFW Firewall on Linux: The Complete Guide
Learn how to configure UFW firewall on Linux with this complete guide. Secure your Ubuntu or Debian server with simple commands, avoid common mistakes, and implement best practices.
-
How to Generate SSH Key in Linux: The Complete Security Guide
Learn how to generate SSH key in Linux with this complete guide. Set up Ed25519 keys, understand key-based authentication, and secure your servers against brute force attacks.
-
How to Add and Manage Users in Linux: Complete Guide
Learn how to add, modify, and manage users in Linux with useradd, usermod, and userdel commands. Complete guide with examples, best practices, and security tips.
Related topics
- Linux sysadmin 113
- Linux commands 62
- Command line 48
- Almalinux 21
- Linux networking 20
- Linux troubleshooting 20
- Shell scripting 16
- Bash 14
- Open source backup 13
- Ubuntu 12
- Homelab 11
- Systemd 10