• Björn Tantau@feddit.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Yeah, I really don’t get why one is supposed to be better than the other.

    Maybe doas gives you superer user privileges.

    • knowncarbage@lemmy.fmhy.ml
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      sudo is complex with a lot of code and options.

      doas is small, simple & secure from OpenBSD.

      If all you want is root priv without remembering two passwords on your box, doas is fine. If you want a complex system of admins and users with fine grained permission control sudo may be a better option.

      I use ’ su -’ much of the time and just use a root shell.

      Actively replacing sudo with doas on an OS that includes sudo in the base system seems pointless imo.