Hi,
I’m getting frustrated. I want to grant an unprivileged user to install updates via gpk-update-viewer for more than 2 days :(.
That’s what I have tried to do:
- run polkit-gnome-authorization
but there ist no org.freedesktop.packagekit.system-update to edit - edit** /etc/PolicyKit/PolicyKit.conf**
with
<config version="0.1">
<match action="org.freedesktop.packagekit.system-update">
<match user="user1">
<return result="yes"/>
</match>
</match>
</config>
- run as root polkit-auth
polkit-auth --user user1 --grant org.freedesktop.packagekit.system-update
polkit-auth --user user1 --explicit-detailorg.freedesktop.packagekit.system-update
Authorized: No
Scope: Indefinitely
Obtained: Mon Feb 15 18:41:29 2010 from root (uid 0)
- edit /etc/polkit-default-privs.local
with
org.freedesktop.packagekit.package-install auth_self_keep_session
org.freedesktop.packagekit.package-remove auth_self_keep_session
org.freedesktop.packagekit.system-update auth_self_keep_session
- edit /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
with
[Updates]
Identity=unix-user:user1
Action=org.freedesktop.packagekit.system-update
ResultAny=auth_self_keep
ResultInactive=auth_self_keep
ResultActive=auth_self_keep
Without success! What’s wrong? Am I too stupid to read config-files and/or man-pages?
Thanks in regard
Mario