[rhelv6-list] Allow users to update using packagekit

Bill Nottingham notting at redhat.com
Wed Dec 8 17:15:26 UTC 2010


Ville Salmela (Ville.Salmela at csc.fi) 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




More information about the rhelv6-list mailing list