All of lore.kernel.org
 help / color / mirror / Atom feed
* agetty not show username as I input on a serial term
@ 2011-09-02  6:26 xinglp
  2011-09-26 10:52 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: xinglp @ 2011-09-02  6:26 UTC (permalink / raw)
  To: util-linux

I'm using util-linux-2.20.

/etc/inittab has the line below:
s0:2345:respawn:/sbin/agetty ttyS0 9600 --long-hostname --noclear

When I  login  on a serial term,  I type username, but nothing appear
on the screen, just as input password.

Only when input a wrong password, and try again, I can see the
username as I typed,
but that was done by /bin/login

It looks like the "ECHO bit in termios.c_cflag" was not properly set
before the get_logname() been called.

called at term-utils/agetty.c line 391

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-26 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-02  6:26 agetty not show username as I input on a serial term xinglp
2011-09-26 10:52 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.