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.
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.
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.
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.)
20 Comments
negativenull@piefed.world · 71 pts · 203d
Living embodiment of:

https://xkcd.com/2347/
victorz@lemmy.world · -2 pts · 203d
Nah we got several alternatives, like sudo-rs, doas (my personal choice), please, etc. All good.
pizza_the_hutt@sh.itjust.works · 27 pts · 203d
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 pts · 203d
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 · 12 pts · 203d
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 pts · 203d
Not really what? What are you referring to?
chrib@feddit.org · 9 pts · 203d
That a simple symlink of sudo to a replacement will suffice.
victorz@lemmy.world · -3 pts · 203d
Matty_r@programming.dev · 41 pts · 203d
https://github.com/sudo-project - there is a link to sponsor them on their github.
https://github.com/sponsors/sudo-project
Scoopta@programming.dev · 10 pts · 203d
Sandwich user do
Delilah@lemmy.blahaj.zone · 6 pts · 203d
Make me a sandwich!
Auster@thebrainbin.org · 5 pts · 203d
alias make_me_a_sandwich="sudo "Sudomeapizza@lemmy.dbzer0.com · 1 pts · 203d
a pizza?
Delilah@lemmy.blahaj.zone · 1 pts · 202d
I just added this alias, maybe I'll remember it exists every once in a while
sip@programming.dev · 1 pts · 201d
I added "alias fucking=sudo" and I never remeber to use it :(
khleedril@cyberplace.social · 1 pts · 201d
@sip @Delilah Why would you? The alias is longer than the thing it replaces!
sip@programming.dev · 1 pts · 201d
it's not a big deal for me, for the couple of daily sudos I type.
Evil_Shrubbery@thelemmy.club · 9 pts · 203d
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 · 7 pts · 202d
Wait sudo isn’t just built into Linux?
tux0r@snac.rosaelefanten.org · 1 pts · 202d
Well, I still have pfexec anyway.