• snaggen@programming.dev
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    If that works for you and you are happy with it, fine. But sudo-rs seems to have a bit of a different usecase since it is intended as a drop in replacement for sudo, hence it must be able to handle the sudoers file aso. It still removes some of the never-used obscure functionality that sudo had, so it is probably a lot smaller code base than original sudo.

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      1 year ago

      But sudo-rs seems to have a bit of a different usecase since it is intended as a drop in replacement for sudo, hence it must be able to handle the sudoers file aso.

      Other than being yet another “standard tool X clone written in Rust” project, does it actually provide any tangible value?

        • lysdexic@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Does it have to?

          If you’re a developer looking for a pastime working on a personal project, no. You’re free to waste your time and effort doing anything that pleases you.

          Everyone else in the world only bothers with something if it provides any value at all. If a project such as this one fails to provide any value them no one will have any reason to waste their time with it, no matter how many times you rewrite it in Rust.

          • λλλ@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I’m with you. Potential memory safety is the benefit that people should care about. But, the original sudo has been around for so long that I imagine the memory safety is already pretty well hashed out. I believe that there are speed benefits to some of the random applications re-written in rust. But, I don’t see how something like sudo would have any benefit.