Alad Wenter
2016-10-21 11:40:17 UTC
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
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