Christian Lehnert — Linux, Hacking & Faith

tag: #run0

1 posts
6 days ago run0 vs sudo - Escalating Privilege Without a setuid Binary

sudo's oldest weakness is structural - it is a large setuid program that starts as root holding a process the untrusted user built. run0, from systemd 256, escalates the opposite way, by asking the already-privileged systemd to spawn a clean process with no inherited context and no setuid anywhere. Here is the real architectural difference, when it matters, and why sudo still wins for automation.

#linux #systemd #sudo #run0 #security