• PoorPocketsMcNewHold
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 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.

    • Samueru
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      5 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.

      • PoorPocketsMcNewHold
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        When was the last time you had to edit sudo configuration file ? Same goes for doas. It’s has nothing going for, for the majority of desktop Linux users (from what I got as an answer)

        • Samueru
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          A month ago or so to be able to use zramen without root password.

    • Titou@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      5 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 ?

      • PoorPocketsMcNewHold
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Sure do confirm that hard-coded sudo requirements are kinda dumb. But this proove systemd point. BSD mainly use doas. Linux mainly use sudo. Why not have an universal method for true cross-platform compatibility ? (Yes, I know plenty prefer or explicitly are against the usage of systemd suite of software, was pointing out systemd main reason of planning to propose an another standard, regardless if it will be popular or not)