[lkml]   [2001]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectOpening /dev/tty from /dev/vc/6 gives /dev/vc/1 instead?

I have noticed that the login program on my Linux
2.4.x boxes is sometimes putting the "Password:"
prompt on vc/1, even if I'm trying to login to vc/6.
This login program is from the "shadow password"
utilities, whose password-authentication routine
always gets the current terminal from /dev/tty rather
than trusting the inherited one.

I have only noticed this problem on the first attempt
to login to a vc after a reboot, and I have noticed it
on both a UP, 64MB, non-devfs and an SMP, 1.25 GB
devfs box.

I haven't tested any of the -ac kernels, but I have
observed this on at least 2.4.7, 2.4.10, 2.4.11 (ahem)
and 2.4.12.

Do You Yahoo!?
Make a great connection at Yahoo! Personals.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:08    [W:0.034 / U:19.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site