• Victor@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      8
      ·
      1 day 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
        23
        ·
        1 day 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
          arrow-down
          3
          ·
          1 day 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. 🤷‍♂️

          • chrib@feddit.org
            link
            fedilink
            arrow-up
            9
            ·
            23 hours ago

            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.