Messages in this thread | | | Date | Sun, 2 May 2004 11:19:35 -0700 | From | Chris Wedgwood <> | Subject | Re: 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/
| |