• PoorPocketsMcNewHold@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Speaking of doas, is there any advantage of using it when… sudo is still available to be used? I agree that most of the stuff we require to use doesn’t need all the options sudo as, but if it is for the sake of security, maintenance, and stability… is there any reason to use doas ON TOP of the already setup sudo or su? In the past, I even tried to just apply a simple alias to replace sudo with doas, but numerous scripts and programs when trying to request explicit super-user permissions, just didn’t know what to do with doas as expected, so this ain’t it.

    • Titou@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      I agree that most of the stuff we require to use doesn’t need all the options sudo as

      Main reason of using doas

      but numerous scripts and programs when trying to request explicit super-user permissions, just didn’t know what to do with doas as expected

      I’ve only found one software like that and it’s tipi, and it’s kinda dumb for a software to require such a easily replacable software. Also how openbsd users are supposed to do ? Having both doas and sudo on their machine which is unnecessary bloat ?

    • Samueru@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      4 months ago

      Speaking of doas, is there any advantage of using it when… sudo is still available to be used?

      I like that its configuration file is very very simple.