implementing an OLPC authentication agent
David Zeuthen
david at fubar.dk
Wed Jul 2 17:51:08 PDT 2008
On Wed, 2008-07-02 at 20:48 -0400, David Zeuthen wrote:
> What about just using polkit-action to override the defaults? E.g.
>
> # polkit-action --set-defaults-active \
> org.freedesktop.consolekit.system.stop-multiple-users \
> yes
>
> You could do this in %post or similar of your installer. See
>
> http://hal.freedesktop.org/docs/PolicyKit/polkit-action.1.html
>
> for details.
Btw, I should also mention that this (of course) doesn't modify
the .policy files; the overrides are stored in separate files. So you
won't run into any problems on upgrades.
Cheers,
David
More information about the polkit-devel
mailing list