this post was submitted on 04 Feb 2026
198 points (100.0% liked)

Linux

12111 readers
220 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world -2 points 3 days ago (1 children)

It's simple to just symlink whatever you want to sudo and have it work in the same way. These alternatives implement enough for most use cases to make them viable IMO.

Any software that invokes a privilege escalation utility should have a setting or option to choose which such utility should be invoked. Otherwise the software should be run with already escalated privileges, if it needs them to function. Or call a library that can do privilege escalation, after asking for credentials.

That's my take. πŸ€·β€β™‚οΈ

[–] chrib@feddit.org 9 points 2 days ago (1 children)

Not really. With sudo you can to set the correct selinux contexts when running commands (on selinux enabled systems). Doas and sudo-rs don’t seem to support this currently.

[–] victorz@lemmy.world -2 points 2 days ago (1 children)

Not really.

Not really what? What are you referring to?

[–] chrib@feddit.org 6 points 2 days ago (1 children)

That a simple symlink of sudo to a replacement will suffice.

[–] victorz@lemmy.world -2 points 2 days ago

These alternatives implement enough for most use cases to make them viable IMO.