On Sat, Jul 3, 2010 at 9:50 AM, Nicolas Monnet <n...@altiva.fr> wrote: > I'm on Fedora 13. > I've spent three hours trying to achieve this. This is all very confusing. I > just want to do something like "NOPASSWD" in sudo, that shouldn't be too > hard to achieve but I'm at a loss. > I tried creating this file: > /etc/polkit-1/localauthority.conf.d/99-my-configuration.conf: > [Configuration] > AdminIdentities=unix-user:0 > Action=org.freedesktop.packagekit.package-install > ResultAny=no > ResultInactive=no > ResultActive=yes > It does nothing. > How can I debug this? I have no idea. How do I increase log levels? No > idea.
Reading the documentation might help. In pklocalauthority(8), you'll find the following about /etc/polkit-1/localauthority.conf.d: Only a single key, AdminIdentities is read. Your other entries (Action, Result...) belong into .pkla files in /etc/polkit-1/localauthority. > I have other questions: > Why does /etc/polkit-1/localauthority.conf.d contain: > AdminIdentities=unix-group:desktop_admin_r > ... when desktop_admin_r is NOT a unix group? Why does it lie? The group desktop_admin_r (and desktop_user_r) is defined in the polkit-desktop-policy package. _______________________________________________ polkit-devel mailing list polkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/polkit-devel