• Victor@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      10 hours ago

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

      • pizza_the_hutt@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        12
        ·
        9 hours ago

        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.

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

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