Default config, haven't touched a thing (haven't even added my user to 'adm'). When I enter the correct root password I get: $ pkexec /bin/sh ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/bin/sh' as the super user Authenticating as: root Password: ==== AUTHENTICATION COMPLETE === ** ERROR:pkexec.c:138:pam_conversation_function: code should not be reached Aborted When I enter the wrong password I get: $ pkexec /bin/sh ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/bin/sh' as the super user Authenticating as: root Password: polkit-agent-helper-1: pam_authenticate failed: Authentication failure ==== AUTHENTICATION FAILED === Error executing command as another user: Not authorized This incident has been reported. Which is correct.
Probably the same situation here: pkexec xfpm-power-backlight-helper --set-brightness 4 ** ERROR:pkexec.c:138:pam_conversation_function: code should not be reached Canot chenge brightness level on XFCE4
Yeah, s/system-local-login/system-auth/ for /etc/pam.d/polkit-1 +*polkit-0.106-r5 (27 Jun 2012) + + 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.106-r5.ebuild: + Revert entire unix-group:wheel experiment back to unix-user:0 because + PolicyKit agent(s) don't behave correctly with it wrt #423733 by Travis + Hansen. Revert system-local-login to system-auth for PAM errors wrt #423487 + by Doug Goldstein.