Comment 4 for bug 621416

Revision history for this message
Thomas NOEL (thomas-noel) wrote : Re: [Bug 621416] Re: cannot disable something for everyone except a group

Le 21 août 2010 à 13h39, James Westby a écrit :
> Try disabling for all groups, then enabling for a single group?

In fact, whatever I do with groups, it does not work. As the pklocalauthority
manpage said : « Finally, the authorization entries are consulted using the
user ».

A solution is to modifiy the file
/usr/share/polkit-1/actions/org.freedesktop.upower.policy and disable the
feature by default (and enable it for the group). But I'm looking for a
solution that does not change the system files.

Thanks,
--
Thomas