On 2016-08-13 02:12, Roman Bysh wrote:
On 08/12/2016 04:28 PM, Martin Schlander wrote:
Fredag den 12. august 2016 14:43:05 skrev Anton Aylward:
And what do you want to bet that the people running admin at the large ISPs know more about it it than you or I and know how to turn that off so that KDE users can't shut down their system?
Exactly. Whatever polkit policies or whatever it is that allows normal users to shut down the system. Disabling those policies will in all likelihood also stop kshutdown from working for normal users.
So there's no reason to do weird things to the kshutdown package. If you want to stop people from shutting down the system, the solution is deeper in the system in some systemwide configuration of polkit or systemd or whatever, not in the .desktop files of random individual packages.
+1
Yes. And perhaps YaST could have a config setup allowing the user in the seat to suspend or powerdown the computer, or not. Normally the user (probably also the owner) of a computer should not be asked to type the root password to power off his own computer. Multiuser machines should have an easy to spot global config to change that behaviour. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)