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

Linux

12861 readers
474 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
top 21 comments
sorted by: hot top controversial new old
[–] 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.

[–] Matty_r@programming.dev 32 points 1 month ago (1 children)
[–] Scoopta@programming.dev 8 points 1 month ago (1 children)
[–] Delilah@lemmy.blahaj.zone 5 points 1 month ago (1 children)
[–] Auster@thebrainbin.org 5 points 1 month ago (2 children)

alias make_me_a_sandwich="sudo "

[–] Delilah@lemmy.blahaj.zone 0 points 1 month ago (1 children)

I just added this alias, maybe I'll remember it exists every once in a while

[–] sip@programming.dev 1 points 1 month ago (2 children)

I added "alias fucking=sudo" and I never remeber to use it :(

[–] khleedril@cyberplace.social 1 points 1 month ago (1 children)

@sip @Delilah Why would you? The alias is longer than the thing it replaces!

[–] sip@programming.dev 1 points 1 month ago* (last edited 1 month ago)

it's not a big deal for me, for the couple of daily sudos I type.

[–] pushpull@fosstodon.org 1 points 1 month ago

@sip @Delilah I have added please = sudo, using it since college days and that's the first thing I update on new system

[–] Evil_Shrubbery@thelemmy.club 7 points 1 month ago

It's work by ppl like these that we owe our technological & even societal advances to, not a bunch of megacorps that enslave humanity in monetisation loops keeping us stuck in place & stagnating.
(Said megacorps also owe their existence to the same open work & infrastructure.)

[–] diabetic_porcupine@lemmy.world 5 points 1 month ago

Wait sudo isn’t just built into Linux?

[–] tux0r@snac.rosaelefanten.org 1 points 1 month ago

Well, I still have pfexec anyway.