documentation on polkit-agent-helper-1 and suid
Alad Wenter
alad at archlinux.info
Fri Oct 21 11:40:17 UTC 2016
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
More information about the polkit-devel
mailing list