Systemd Looks to Replace sudo with run0

petsoi@discuss.tchncs.de to Linux@lemmy.ml – 222 points –
news.itsfoss.com
146

You are viewing a single comment

Will this be an integral part of systemd, or will they release it as a separate thing? I mean, if I like it, but I'm not using systemd (I do use it, but I'm just thinking about it), could I use this run0 (horrible name) without having to buy into all of systemd?

it's just a link to systemd-run which is a part of systemd, i doubt it works separately.

but, if you use s6 as an alternative init system, s6-sudo is a somewhat equivalent aproach to how run0 works (instead of systemd-run it calls s6-ipcclient)

The article says it works by messaging systemd to run the process as the given user, rather than being a SUID binary. So it wouldn't work without systemd.