2009/10/8 David Zeuthen <[email protected]>:
>> What is the new equivalent of the following in PolicyKit-1.0?
>>
>>     polkit-action --set-defaults-active
>> org.freedesktop.hal.power-management.reboot-multiple-sessions yes
>
> The equivalent is to use .pkla files, try 'man pklocalauthority'. Hope
> this helps. Thanks.

Thanks! Looks good, but I'm still a little confused.

I want to do the above as

[My override]
Action=org.freedesktop.hal.power-management.reboot-multiple-sessions
ResultActive=yes


However, the man page suggests I have to provide an Identity (but I
want this to apply to all users) and also settings for ResultAny and
ResultInactive (and I don't want to override the system defaults
there). Any thoughts?

Daniel
_______________________________________________
polkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/polkit-devel

Reply via email to