Re: Login string FUBAR; what package does this?
Ah yes. Welcome to the magic of telnetd/login and getty/login. The first
login: prompt is supplied by your getty/telnetd. When you type in your
login and hit enter, the getty/telnetd execs /bin/login, passing the
username you typed in. If you enter an incorrect login, control does not
pass back to your getty/telnetd but instead /bin/login spits out another
login: prompt. Pretty clever no? (No.) This is rather annoying but this way
of "logging people in" is quite ingrained in unix.
Anyway, I believe /bin/login gets the prompt from /etc/issue. Perhaps a bug
should be filed regarding '\?' substitution.
Joost Kooij wrote:
> Hi,
>
> For quite a while now I've been looking at this and I don't quite know
> where even to look to fix it.
>
> This is what happens:
>
> --begin---
> Debian GNU/Linux 2.0 (unstable) pc47 tty2
>
> pc47 login: kooij
> Password:
> Login incorrect
> Debian GNU/\s 2.0 (unstable) \n \l
>
> pc47 login:
> Debian GNU/Linux 2.0 (unstable) pc47 tty2
>
> pc47 login:
> --end--
>
> When I get a second login prompt, it is messed up.
>
> What? When? How? Why?
--
Jens B. Jorgensen
jjorgens@bdsinc.com
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: