On 2015-07-03 10:16, wolfi323 wrote:
>
> robin_listas;2717858 Wrote:
>> I’d rather try change the executable bit of the applet, so that only
>> people in a certain group can run it.
> You don’t “run” an applet, in particular not KDE’s updater applet.
> It’s written in QML (some kind of JavaScript) and is loaded by the
> system tray.
>
> Modifying the “executable bit of the applet” doesn’t help at all here.
Oh.
> You could probably change the readable bit, but then all other users
> would get some error message I suppose.
Not too bad… 
> I would rather prevent the applet from being added to the system tray at
> all. This is done by a plasma script on first login.
But they could add it manually later, no?
> Plasma remembers which setup scripts it runs in
> ~/.kde4/share/config/plasma-desktoprc, so just create one (via
> /etc/skel/ e.g.) with the following content:
>
> Code:
> --------------------
> [Updates]
>
> performed=/usr/share/kde4/apps/plasma-desktop/updates/10-opensuse-org.packagekit.updater.js
>
>
> --------------------
>
> And new user accounts won’t have an update applet in KDE. This won’t
> prevent users from adding it themselves though, or running e.g. Apper,
> so you should still change the polkit rules accordingly.
Ah.
> Your method should work with stand-alone applications like Apper,
> gnome-software, or pk-update-viewer though.
Well, you see, changing permissions is doable in /etc/permissions.local
and is thus enforced for life.
>> Which is basically what I want… only the admin doing admin work 
>
> In this case, no special polkit rule is needed.
> Just set the security level to “restrictive”, or set this in
> /etc/polkit-default-privs.local:
>
> Code:
> --------------------
> org.freedesktop.packagekit.system-update auth_admin_keep
> --------------------
>
> Then everybody has to enter the root password, except root itself of
> course.
I seem to recall this.
> Or uninstall PackageKit and all its frontends.
Well, that’s what I actually do 
I’m just thinking of other, less drastic, alternative measures 
Thanks for your ideas 
I will save this post. Unfortunately, I will forget I did 
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))