Spyke
Victorreply
lemmy.world

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

-2
sh.itjust.works

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.

27
Victorreply
lemmy.world

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. 🤷‍♂️

-1
chribreply
feddit.org

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.

12
Victorreply
lemmy.world

Not really.

Not really what? What are you referring to?

-2
chribreply
feddit.org

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

9

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

-3
Delilahreply
lemmy.blahaj.zone

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

1
sipreply
programming.dev

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

1

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

1

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.)

9

You reached the end