LinuxHow to Use the ‘chattr’ Command to Make Files Immutable in Linux
The Limits of Standard File Permissions In Linux, the standard chmod and chown commands manage...
LinuxHow to Configure UFW (Uncomplicated Firewall) for Docker Containers in Ubuntu
The UFW and Docker Conflict Ubuntu server administrators rely on UFW (Uncomplicated Firewall) for its...
LinuxHow to Configure Fail2Ban to Protect SSH Servers from Brute Force Attacks
The Threat of SSH Brute Force Attacks If you expose an SSH server to the...
LinuxHow to Use Systemd Timers as a Superior Alternative to Cron Jobs in Linux
Introduction to Systemd Timers vs Cron For decades, Cron has been the default task scheduler...
LinuxHow to Completely Disable USB Storage Devices in Linux for Maximum Security
In high-security enterprise environments, the most dangerous threat is often not a remote hacker, but...
LinuxHow to Completely Disable ‘Core Dumps’ in Linux to Save Disk Space and Protect Data
When a background process or application crashes in Linux (a segmentation fault), the kernel’s default...
LinuxHow to Completely Disable ‘Swap Space’ in Linux to Force Apps to Use Physical RAM
By default, when you install a Linux distribution (like Ubuntu or Debian), the operating system...
LinuxHow to Completely Disable Ping (ICMP Echo) Requests in Linux to Hide from Scanners
When a hacker or a malicious botnet wants to attack a network, they do not...
LinuxHow to Completely Disable IP Forwarding in Linux to Prevent Network Routing Attacks
By default, a standard Linux server is designed to be an endpoint-a destination for network...
LinuxHow to Automatically Send a Slack Message from the Linux Terminal Using curl
If you run an intensive nightly backup script on a Linux server, or deploy code...
LinuxHow to Automatically Log Out Idle SSH Users in Linux Using the TMOUT Variable
If you manage a fleet of Linux servers for a team of developers, you will...
LinuxHow to Automatically Clear the Bash Command History on Logout in Linux
Every time you type a command into a Linux terminal, the operating system quietly saves...
LinuxHow to Automatically Send an Email Alert When a Linux Server Reboots Using Crontab
If you manage a fleet of headless Linux servers running critical applications, unexpected reboots are...
LinuxHow to Completely Disable ‘Swap’ Space in Linux to Prevent Hard Drive Thrashing
In traditional Linux architecture, “Swap” space is a dedicated partition (or file) on your hard...
LinuxHow to Completely Disable the ‘root’ Login Over SSH to Protect Your Linux Server
When you lease a brand new Linux server from a cloud hosting provider, the default...
LinuxHow to Prevent a Specific User from Using the ‘su’ Command to Become Root in Linux
In Linux system administration, the su (Substitute User) command is a powerful tool. By typing...
LinuxHow to Change the Default SSH Port (Port 22) on Linux to Prevent Brute-Force Attacks
If you spin up a brand new, clean Ubuntu or Debian server on a major...