all 21 comments

sorted by: hot top controversial new old
[–] 74 points 8 months ago* (last edited 8 months ago) (7 children)
  • [–] -3 points 8 months ago (6 children)

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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 27 points 8 months ago (5 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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] -2 points 8 months ago (4 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. 🤷‍♂️

  • source
  • parent
  • hideshow 4 child comments
  • [–] 12 points 8 months ago (3 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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] -3 points 8 months ago (2 children)

    Not really.

    Not really what? What are you referring to?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 40 points 8 months ago (9 children)
  • [–] 10 points 8 months ago (8 children)
  • [–] 6 points 8 months ago (7 children)
  • [–] 5 points 8 months ago (6 children)

    alias make_me_a_sandwich="sudo "

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 8 months ago (4 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 8 months ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 8 months 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.)

  • source
  • [–] 7 points 8 months ago

    Wait sudo isn’t just built into Linux?

  • source
  • [–] 1 point 8 months ago

    Well, I still have pfexec anyway.

  • source