Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 256056
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik <esigra@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge --info text/plain Erik 2009-01-24 03:08 0000 4.23 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 256056 depends on: Show dependency tree
Bug 256056 blocks:
Votes: 10    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-01-23 01:22 0000
A user can end another user's or even root's session by shutting off or
rebooting the system.

Reproducible: Always

Steps to Reproduce:
1. Start the computer.
2. Log in as user in KDM.
3. Switch to virtual terminal 1.
4. Log in as root.
5. Switch back to virtual terminal 7.
6. Start Konsole.
7. Execute "who". This shows both root and user.
8. Press Ctrl+Alt+Delete.
9. Press enter.
Actual Results:  
The computer is shut off without even a warning!

Expected Results:  
A user is not allowed to end another user's session (especially not root's).
(Someone might prefer to just have a warning as an option, but forbidding would
suffice for me.)

Even better would be if a user is can not shut down or reboot even if all other
remaining sessions are his own. He would have to exit each of them (except the
last one, from which me may shut down). That can prevent data loss but is not
as important as protecting other user's (or root's) sessions.

This is especially annoying if root has been emerging openoffice since a few
days and has to start over when he discovers that the user has triggered this
bug.

------- Comment #1 From Jeroen Roovers 2009-01-24 01:51:08 0000 -------
I don't know if this is a KDE specific problem or perhaps something deeper
down, but let's start off investigating your `emerge --info' and perhaps the
version of KDE that you are using...

------- Comment #2 From Erik 2009-01-24 03:08:29 0000 -------
Created an attachment (id=179498) [details]
emerge --info

KDE version is 3.5.10.

------- Comment #3 From Matt Summers 2009-01-24 05:33:40 0000 -------
Some of this behavior is determined by settings in KControl (for KDE-3.5.x).
System Administration -> Login Manager -> Shutdown

Regarding CTRL+ALT+DEL, I believe that can be restricted too, but the method
escapes my memory. Perhaps someone else can provide a clue.

------- Comment #4 From Jeremy Olexa (darkside) 2009-01-24 06:37:34 0000 -------
(In reply to comment #3)

> Regarding CTRL+ALT+DEL, I believe that can be restricted too, but the method
> escapes my memory. Perhaps someone else can provide a clue.
> 

xorg.conf - DontZap

"Option "DontZap"  "boolean" " In the xorg.conf(5) man page

------- Comment #5 From Arfrever Frehtes Taifersar Arahesis 2009-01-24 06:39:19 0000 -------
(In reply to comment #3)
> Regarding CTRL+ALT+DEL, I believe that can be restricted too, but the method
> escapes my memory. Perhaps someone else can provide a clue.

'ca:12345:ctrlaltdel:/sbin/shutdown -r now' in /etc/inittab can be removed.

------- Comment #6 From Erik 2009-01-24 11:01:29 0000 -------
Just to remind: Oswald Buddenhagen wrote in comments #3 and #4 of the KDE
report (see URL) that this is supposed to be fixed and work properly. Other
user's sessions will be protected as long as they show up in the 'who'-command.
But it does not work.

------- Comment #7 From Samuli Suominen 2009-11-09 11:52:42 0000 -------
(In reply to comment #2)
> KDE version is 3.5.10.

KDE 3.5.10 has been masked for removal, reopen if you still experience this
with KDE4.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug