79
Systemd wants to expand to include a sudo replacement
(outpost.fosspost.org)
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
Is there something wrong with doas? I thought doas was smaller with less of an attack surface.
The only problem I found was, that it has no real alternative to
sudoedit
Is that similar to
visudo
?Not really
visudo
is only to edit the sudoers file.sudoedit
is a better way to edit system files.It seems Poettering is convinced
doas
, while decreasing attack surface, depends on SUID binary implementation which is a concern in its own right. Poettering is trying to eliminate that dependency in his `run0' implementation to reduce the attack surface even further.The relevant excerpt from the long chain of posts from Poettering's mastodon.social account is copied below:
Read the rest where he explains
run0
's use and functionality beyond the design logic.Thanks for the insight. I think I understand what he is trying to do but is a little too low-level for me to really grasp the technicalities.
it is. arguing attack surface with systemd IMO is a losing battle though.
Why do you say that? It seems that Poettering's reasoning for avoiding SUID binaries is sound.
Some scripts or programs assume sudo by default. It's a stupid thing but also annoying.
The main problem with sudo and doas is that they are not developed by Lennart. Seriously.
I consider that a positive.