you are viewing a single comment's thread
view the rest of the comments
[–] -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