On Friday, 12 August 2016 09:01:00 CEST Anton Aylward wrote:
On 08/11/2016 10:28 PM, Markus Slopianka wrote:
If you're not root you can't kill processes you don't own
True. But then again, I am able to shutdown my laptop from the KDE menu.
Please read the man page for the various forms of 'kill;
kill(2) killpg(2) tkill(2) tgkill(2) systemd.kill(5)
I don’t think that one could compare killing processes, with shutting down a computer.
On a multi-user system there will be process owned by those other users. If you're not root you can't shut those down either. If users could shit down other users' processes there would be chaos!
Wouldn't this even be a very good argument to prevent kshutdown running as root ? That way an user only has to start kshutdown and he could kill other users processes and therefore create chaos.
What is it about this that you don't understand? Well, strangely enough the reasons you are bringing up to run kshutdown as root, seems more arguments to PREVENT running it as root.
if I run kshutdown as a normal user (so without your patch), then I can schedule a shutdown of my laptop and this is executed perfectly. I guess that kshutdown doesn't do anything else than using the standard desktop functionality. And if you decline a submitrequest, then it would be highly appreciated to explain your decision and not to put just "NO". I don't think that you would like to such answers on your submitrequests either. Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org