Ville Salmela ([email protected]) said: 
> I would like to create a rule to polkit to allow users to update their 
> systems without root password. So when packagekit tells there are new updates 
> user can just click update without giving root pw. There is no need to 
> install new packages without priviledges, just keep the system up to date is 
> enough.
> 
> How can I do this?

You'd put something like (warning: untested, salt to taste):

[User update perms]
Identity=*
Action=org.freedesktop.packagekit.system-update
ResultAny=no
ResultInactive=no
ResultActive=yes (or auth_self)

in /etc/polkit-1/localauthority/30-site.d/<foo>.pkla.

Bill

_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to