On Friday, 12 August 2016 20:12:52 BST Martin Schlander wrote:
Fredag den 12. august 2016 10:53:22 skrev Darryl Gregorash:
On 12/08/16 09:11 AM, Markus Slopianka wrote:
On Freitag, 12. August 2016 10:28:34 CEST Anton Aylward wrote:
"non default" meaning what, exactly?
That if you simply click through Yast during installation, there is only one user account at the end.
Non-defayult for you might be default for someone else.
No, openSUSE has one default in that case. Everything else is post- installation customization.
Sure, go ahead and to that on a heavily multi-user ISP service that allows ssh & X-over-ssh access as many do, and see how welcome you are.
I betcha the "default" they have is a very different from the "default' you have on your home system, and if they are in any way competent they have taken measures to ensure you can't shut-down the system and can't become root.
Yeah… See, I don't really care about the strange arguments you come up with. I made an argument that KShutdown's desktop icon in openSUSE should not override the upstream defaults and mandate that it runs only as root. openSUSE's KDE team agreed with me on that matter, so the discussion is closed as far as I'm concerned.
Markus, Try, as an ordinary user with no special privileges, to KILL or even INT a process you do not own, either in KSysguard or in htop. You need to provide the root password to do it.
When you shutdown the system, processes *should* be stopped cleanly, meaning they are first given a SIGINT. If that fails, then they are KILLed, which certainly does *not* result in a clean shutdown of that process.
Everything Anton has said makes perfect sense; there is nothing "strange" about it: you cannot cleanly and safely shut down the system unless you first gain root privileges. What is so difficult about that to understand?
Maybe that 99.9% of users, including myself, shut down the system every day with a couple of clicks and normal user priviliges - including the running root processes. What's the point in blocking normal users from using kshutdown, when they can already easily shut down the system from the desktop? Like Raymond already mentioned, kshutdown probably uses the exact same method as the desktop itself to shut down the system.
This limitation of kshutdown is very half-baked anyway. If I start kshutdown using the .desktop file e.g. via the launch menu I'll be prompted for the root password. But if I run the 'kshutdown' excecutable from konsole, kshutdown runs fine and will shut down the system for me without requiring the root password.
So this whole root thing for kshutdown is not stopping anyone from shutting down systems (via kde desktop menus or widgets or even kshutdown), it's just annoying people who like to use kshutdown. If you are a single user machine, its not an issue. If you have multiple users logged into the same machine the its a big issue if one user can shut the system down while other people are working.
-- Qt: 5.6.1 KDE Frameworks: 5.24.0 kf5-config: 1.0 KDE Plasma: 5.7.3 Kernel: 4.7.0-1-default "openSUSE Tumbleweed (20160811) (x86_64)" -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org