How to Find SUID Files and World-Writable Files on Linux
Four find commands list the files that most often turn a small break-in into root access: SUID and SGID programs, world-writable files and files with no owner.
Four find commands list the files that most often turn a small break-in into root access: SUID and SGID programs, world-writable files and files with no owner.
One openssl command shows when a site's certificate expires. Plus a tested script for many sites, and why certificates now last 200 days at most.
Ten commands that show the usual traces of a break-in on a Linux server: logins, new accounts, SSH keys, odd processes, cron jobs and changed files.
Three commands show every listening port on a Linux server, which program owns it and whether the internet can reach it. Tested on Ubuntu 24.04.
last, lastb, lastlog and the SSH auth log each record different logins. Lab output from Ubuntu 24.04 shows which SSH logins last misses, plus the Debian 13 replacements.
CVE-2026-123158 lets attackers log in to sshd on Alpine and other musl systems without PAM. A tested 5-minute check, the fixed package versions and the log line to look for.
A tested secure Nginx configuration for Ubuntu 24.04: TLS 1.2/1.3, security headers, rate limits and dotfile blocking, with real output.
A tested SSH hardening checklist for Ubuntu 24.04: one drop-in sshd file, modern crypto, safe rollout steps and a printable table.
Learn to detect SSH brute force attacks on Ubuntu 24.04 with journalctl, grep and fail2ban, and spot the one login that matters after many failures.
Learn how to run local LLMs on Linux with Ollama and llama.cpp, then lock them down: loopback binding, nginx TLS, firewall rules, systemd hardening.