[Konsole-devel] "confirm quit with open sessions" and root sessions

Waldo Bastian bastian at kde.org
Fri Aug 9 00:18:05 UTC 2002


On Thursday 08 August 2002 04:52 pm, Alexander Neundorf wrote:
> Hi,
>
> if I have a "builtin" root shell in konsole running, I can't simply close
> the window.
> If I have a normal shell in konsole, where I entered "su -" manually, I can
> close konsole.
>
> If konsole would simply exit, wouldn't the "builtin" root shell also exit,
> since it is a child of konsole ?
>
> I'd find it much less annoying if the option "confirm quit..." would also
> effect the handling of root shells, i.e. only stop exiting with "not all
> sessions could be closed" if the "confirm quit..." option is enabled.
>
> Any objections ?
>
> I also don't see any security problems, if the user is able to click the
> window-close button, he is also able to switch to the already running root
> shell and do whatever he wants to.

I guess we can just force a quit by closing the tty when we can't send signals 
to the child-process. Please try this patch.

Unfortunate side-effect is that this triggers BR43432

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: konsole_close.diff
Type: text/x-diff
Size: 6752 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20020808/beed3806/attachment.bin>


More information about the konsole-devel mailing list