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

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.
Cheers,
Chris


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
-
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 13:08    [W:0.028 / U:3.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site