[rhelv6-list] Allow users to update using packagekit

Ville Salmela Ville.Salmela at csc.fi
Thu Dec 9 09:39:44 UTC 2010


> -----Original Message-----
> From: Bill Nottingham
> 
> Ville 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
> 
> in /etc/polkit-1/localauthority/30-site.d/<foo>.pkla.

Thanks, it works.

br,
Ville




More information about the rhelv6-list mailing list