Hi,

While looking suid files on my system I noticed that /usr/lib/polkit-1/polkit-agent-helper-1 is suid root, and I was curious on the reasoning beyond this.

If this file is not suid, polkit tty and GUI agents stop working with "Error: Incorrect permissions on /usr/lib/polkit-1/polkit-agent-helper-1 (needs to be setuid root)"

The responsible code: https://cgit.freedesktop.org/polkit/tree/src/polkitagent/polkitagenthelper-pam.c#n93

FWIW, I couldn't find a hint in the polkit(8) man page.

Regards,

Alad
_______________________________________________
polkit-devel mailing list
polkit-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/polkit-devel

Reply via email to