lkml.org 
[lkml]   [2004]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: strange delays on console logouts (tty != 1)
On Sun, May 02, 2004 at 07:01:15PM +0100, Russell King wrote:

> As I read the original problem, you have gdm running on what it
> thought was a free tty at the time. agetty starts up and takes
> control of the tty.

Heh, I wasn't thinking about gdm, I was thinking more about rogue
programs keeping the tty open after the user has gone.

On Sun, May 02, 2004 at 07:04:25PM +0100, Russell King wrote:

> Oh, and also on this note, vhangup may be a good idea just before
> displaying the issue message.

I was more concerned about security issues with an evil program
hanging out. Since login is actually where the password is read and
it does use vhangup, then we don't need to worry.

So yes, using tty locking would seem the the sensible solution.


--cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2011 Jasper Spaans