• lengau@midwest.social
    link
    fedilink
    arrow-up
    2
    ·
    6 个月前

    Kinda feels like writing a script that implements the sudo CLI but calls pkexec would be an easier way to do it. Given that so many systems already come with both sudo and pkexec, do we really need yet another option?

    • chameleon@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      6 个月前

      The point of this is to implement some form of privilege escalation without the SUID mechanism. sudo, pkexec and doas are all SUID.