Bug 53474

Summary: closing Konsole executes unconfirmed command when su-ed to root!!
Product: [Applications] konsole Reporter: seeksthemoon
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description seeksthemoon 2003-01-27 10:24:57 UTC
Version:            (using KDE KDE 3.0.5)
Installed from:    SuSE RPMs
Compiler:          gcc 3.2 
OS:          Linux

When you're logged in to KDE as normal (= not root) user, open Konsole and change to root (via "su"-command) there is the following (in my opinion severe) bug:

- Type in a command (doesn't matter which one, e.g. "ls > list.txt" or "halt" or something else) but don't press ENTER to confirm it
- Now close Konsole by klicking the "x"-Button or choosing "close session" or "quit" in the "session"-menu
- THE COMMAND WILL BE EXECUTED THOUGH YOU DON'T WANT IT (because you did not confirm it with ENTER and you just wanted to close Konsole)!

This happens in those types of Konsole:
"Shell" and
"Linux Console"

not in "Screen Session" and "root console" (because in root console you have to type "exit" for closing it)

It doesn't matter how much sessions are running in the Konsole
Comment 1 seeksthemoon 2003-01-28 20:09:59 UTC
This happens too on KDE-3.0.5a Mandrake 9 and kde3.0.5a (built from source) but
not in KDE-CVS (3.1.90)
Comment 2 Stephan Binner 2003-01-31 22:30:30 UTC
The same happens here when trying this in a xterm. Likely no Konsole bug. 
Comment 3 seeksthemoon 2004-03-15 09:12:15 UTC
That Bug ist still (or again) active in KDE 3.2.1 (tarball, gentoo) and it can be the cause for severe problems, so I reopened this bug.
Comment 4 Waldo Bastian 2004-03-15 11:01:40 UTC
This is a su bug, not a konsole bug.