How to Check Who Has Sudo Access on Linux (Tested)
Five commands list every account that can become root through sudo, show the risky NOPASSWD rules and let you remove access safely. Tested on Ubuntu 24.04.
Five commands list every account that can become root through sudo, show the risky NOPASSWD rules and let you remove access safely. Tested on Ubuntu 24.04.
Ubuntu can install security updates by itself every day. How to confirm it is working, test it safely, control reboots and see what it changed.
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.
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.
Build a self-healing Linux server with systemd Restart and WatchdogSec, a tested bash remediation script with cooldown, timers and webhook alerts.
Ten tested Linux automation scripts for sysadmins: update reports, user audits, SSH failures, port and file drift, backups, cleanup, watchdog, onboarding.
Seven tested Bash scripts for DevOps: health checks, symlink deploys with rollback, CERT-In log cleanup, secret-safe .env loading, cert expiry, disk alerts.