0

I know that some authentication programs like KDE's KAuth can use polkit as the backend.And what makes polkit special is that it can grant some specific privileges to a non-privileged process.A functionality that reminds me of capabilities(7).
But does polkit make use of capabilities or another infra-structure?
Thanks.

  • It is not able to grant some specific privileges to a non-privileged process, it simply do userspace authentication. – 炸鱼薯条德里克 Mar 5 at 13:11
3

polkit doesn’t grant privileges to non-privileged processes, it authenticates users and controls access to actions provided by privileged processes. It doesn’t use capabilities for this.

pkexec can run a process as another user, but it does so using mechanisms similar to sudo: it’s setuid root.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.