The real magic word - sh.itjust.works

Systemd v256 Introduces run0: A Safer Alternative to sudo

Lennart Poettering reveals run0 in systemd v256, a fresh take on secure privilege escalation, aiming to phase out traditional SUID binaries.

Linuxiac

I don’t know enough about IT security to understand this.

Does that mean that run0 puts programs in some form of sandbox? What’s the difference now to sudo?

Sudo is a setuid binary, which means it executes with root permissions as a child of of the calling process. This technically works, but gives the untrusted process a lot of ways to mess with sudo and potentially exploit it for unauthorized access.

Run0 works by having a system service always running in the background as root. Running a command just sends a message to the already running seevice. This leaves a lot less room for exploits.