I see people talking about doas saying it’s just like sudo but with less features. I’m just wondering if there is any situation where you should use doas or if it’s just personal preference.

  • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    21
    arrow-down
    5
    ·
    8 months ago

    Doas is more secure, sudo has had a few critical vulnerabilities in the past, because the codebase is much larger. Sudo has like a million features that most people don’t need, but they significantly increase attack surface.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      24
      arrow-down
      7
      ·
      8 months ago

      Doas is more secure, sudo has had a few critical vulnerabilities in the past, because

      … it’s newer. You wanted to say “it’s newer.” It has nowhere near the history, and looks better because it’s newer.

      Please, now, trot out the “use sudo if you’re old” memes, because we grew that skin extra thick over the systemd counter-hate.