• lengau
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    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
      ·
      2 months ago

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