sudo-rs vs run0 in 2026: Memory-Safe sudo Replacements for Linux Compared
Compare sudo-rs and run0 in 2026: install steps, polkit rules, the sudoers features sudo-rs drops, Ubuntu 25.10 defaults, and a CI-ready migration playbook.
Linux Secure Ops is a working notebook for sysadmins who run Debian and Ubuntu boxes in the wild and want to keep them out of the news. We publish reproducible hardening playbooks, post-incident write-ups, and benchmark-aligned configs we actually use on our own fleet — not warmed-over checklists scraped from a 2019 blog. Every command has been pasted into a real shell, every sysctl tweak measured, every IDS rule load-tested before it hits the page.
Noble Numbat changed enough defaults that the old 16.04/20.04 hardening guides now produce broken servers. AppArmor 4, unprivileged user namespaces restrictions, and the new Livepatch client all need fresh treatment. Our playbook walks the full CIS Ubuntu 24.04 Benchmark Level 1 and Level 2 controls, then layers on what CIS leaves out — disabling kernel.unprivileged_bpf_disabled, scoping systemd-resolved, and locking down cloud-init on imaged hosts.
We pay particular attention to the controls that break things quietly: USBGuard policies that lock out KVM consoles, nftables rulesets that survive a netplan reapply, and SSH MaxStartups values that won't lock you out during an Ansible run across 200 hosts. Where a control is theatre, we say so.
The intrusion-detection landscape in 2026 looks nothing like it did five years ago. CrowdSec has matured into a credible Fail2Ban replacement with a community blocklist, Wazuh 4.9 ships a usable agent for Debian-family hosts, and nftables sets make dynamic blocking far cheaper than the iptables hash-tables of old. We benchmark these tools head-to-head on a real SSH-and-Nginx edge node, measure false-positive rates against actual traffic, and show the exact bouncer wiring for Caddy, HAProxy, and bare nftables.
We also cover what nobody likes to admit: most small fleets don't need a SIEM, they need a journald pipeline into Loki with three good alert rules. We share those rules.
A clean Lynis hardening index above 90 is achievable on stock Ubuntu in an afternoon if you know which warnings to trust. We catalogue every sysctl we set — what it actually does at the kernel level (with links to kernel.org sysctl docs), what breaks when you set it wrong, and which ones are placebo. The same treatment applies to auditd rule sets, PAM stacks, and the perpetually misunderstood /etc/login.defs.
Browse our latest articles below for the current week's deep dives, incident retros, and config snippets you can paste into a terminal tonight.
Compare sudo-rs and run0 in 2026: install steps, polkit rules, the sudoers features sudo-rs drops, Ubuntu 25.10 defaults, and a CI-ready migration playbook.
Sigma turns Linux auditd, journald, sshd, and sudo events into portable YAML detections that compile to any SIEM. Learn pySigma, sigma-cli, Zircolite, and CI patterns for detection-as-code in 2026.
Install Zeek 7.x on Linux, tune AF_PACKET for line-rate capture, write your first detection script, use JA4 TLS fingerprints, and stitch Zeek into a SIEM for real threat hunting.
A practical 2026 guide to fapolicyd on RHEL and Fedora: how it uses fanotify to gate execve, how to write rules that don't lock you out, the safe permissive-to-enforce rollout, and how it maps to CIS, STIG, and PCI DSS compliance.
A practical 2026 guide to migrating from ModSecurity to Coraza WAF on Linux. Includes install recipes for Caddy and Nginx (OpenResty + lua-resty-coraza), OWASP CRS 4.15 rule tuning, FTW regression testing, and SIEM shipping tips drawn from production edges.
A pipeline-first guide to Cilium 1.17 on Linux: writing CiliumNetworkPolicy resources with L7 HTTP/DNS/Kafka rules, wiring Hubble for flow observability, and validating every policy in CI before it reaches production.
Restic, Borg, and Kopia compared for ransomware-resistant Linux backups in 2026, with S3 Object Lock, append-only SSH, and the 3-2-1-1-0 rule wired end-to-end.
Talos Linux, Bottlerocket, and Flatcar compared for immutable Kubernetes nodes in 2026: attack surface reduction, A/B atomic updates, FIPS 140-3 support, and a clear recommendation for AWS, bare metal, and edge deployments.
Learn YARA and YARA-X on Linux for malware detection and threat hunting. Covers rule writing, ELF/hash modules, Wazuh integration, Volatility 3 memory scans, and fleet-wide scanning.
How Linux kernel live patching works in 2026 with kpatch, Ubuntu Livepatch, and TuxCare KernelCare. Install commands, comparison table, and audit tips for zero-downtime CVE fixes.
Wolfi vs Distroless vs Alpine base images for 2026 Linux workloads, with CVE benchmarks, apko and cosign pipeline snippets, and real migration examples for Node.js and Python services.
OpenBao 2.5 vs HashiCorp Vault in 2026: licensing under BUSL vs MPL 2.0, what's free in OpenBao, a real migration recipe from Vault CE 1.14.x, Kubernetes patterns with ESO, and a hardening checklist from a pentester's view.
Choose your preferred language to explore our content