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

Linux

12861 readers
461 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
[–] negativenull@piefed.world 58 points 1 month ago* (last edited 1 month ago) (1 children)
[–] victorz@lemmy.world -1 points 1 month ago (1 children)

Nah we got several alternatives, like sudo-rs, doas (my personal choice), please, etc. All good.

[–] pizza_the_hutt@sh.itjust.works 21 points 1 month ago (1 children)

sudo-rs doesn't implement all the functionality of regular sudo, which causes certain applications to break. I had to install sudo.ws on the latest Ubuntu to get regular sudo back. Many installation scripts depend on sudo, not alternatives.

[–] victorz@lemmy.world 1 points 1 month 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 1 month 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 0 points 1 month ago (1 children)

Not really.

Not really what? What are you referring to?

[–] chrib@feddit.org 7 points 1 month ago (1 children)

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

[–] victorz@lemmy.world -3 points 1 month ago

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