4 ms·
Given that Ubuntu uses systemd like the vast majority of Linux systems nowadays, how does sudo-rs differ from run0?
by ranger207 1y ago
Given that Ubuntu uses systemd like the vast majority of Linux systems nowadays, how does sudo-rs differ from run0?
- fweimer 1y agoYou might not have a systemd instance inside a container, but you still might want to switch user IDs there.
- Vilian 1y agoPodman has systemd inside, you can run0 in it
- yjftsjthsd-h 1y agoNot all containers are on podman
- fweimer 1y agoSurely that depends on the container? Podman doesn't artificially inject a systemd process as PID 1 by default.
- hedora 1y agosudo-rs doesn’t gratuitously require a root privilege daemon that regularly ships filesystem destruction and remote unauthenticated arbitrary code execution bugs. If your bar is “I’ll tolerate such crap”, you may as well run your desktop session as root.
- zahlman 1y agoIf sudo does this, as you imply, why do Linux system still exist that are not part of a botnet?
- paulddraper 1y agoImplication is that systemd does this, not sudo.
- Vilian 1y agoNice technical argument, did Lennart bite you while you where sleeping?
- paulddraper 1y agosudo-rs uses setuid. run0 does not (and instead relies on systemd). --- To answer your next question: setuid, while historic, is a bit weird, and is disabled in some environments, e.g. NoNewPrivileges.
- Vilian 1y agoThe Lennart post about it explain it https://mastodon.social/@pid_eins/112353324518585654 https://mastodon.social/@pid_eins/112353324518585654 He was comparing to "normal" sudo, but sudo-rs have the same problems he highlighted anyway