2011-02-16 12:12, Nelson A. de Oliveira wrote:
> I only have this:
> 
> ng:2345:respawn:/sbin/ngetty 1 2 3 4
> 
> But the file is attached, just in case I am doing something wrong and
> not seeing.

Thanks.  So, your problem is not the one I encountered.

Could you please let me know your /dev/tty1 and others?

  $ ls -l /dev/tty1 /dev/tty0 /dev/console /dev/tty

Mine is like that:
------------------
crw------- 1 root root 5, 1 Feb 16 13:42 /dev/console
crw-rw-rw- 1 root root 5, 0 Feb 16 13:26 /dev/tty
crw------- 1 root root 4, 0 Feb 16 13:26 /dev/tty0
crw------- 1 root root 4, 1 Feb 16 13:36 /dev/tty1
------------------

> But the problem now is a little different.
> On tty 2 to 4 I type my login and password normally and it works.
> 
> On tty 1 I type my login, press Enter and the password prompt isn't
> displayed; pressing enter two more times and I get the login prompt
> again (the password prompt isn't displayed).
> Trying to type my password also doesn't work (nor display "Login incorrect").
> Sometimes the password prompt is displayed, but it also doesn't work.

Umm...

> Is it possible to attach a strace or something else to see what is
> happening on it?

There are two programs; ngetty and login.  The first login prompt is
displayed by ngetty, and password prompt is by login.  Do you use
'login' package or another?

With lsof, we can see connecting programs.  When you see login prompt
on tty1, please type (from different terminal):

  # lsof /dev/tty1

Please do it again when you see password prompt.

The former case, output must be ngetty.  For the latter, output must be
login for 0, 1, and 2 (stdin/stdout/stderr).

Similarly, please check tty discipline by stty command (from different
terminal).

  # stty </dev/tty1

Yes, please check that for login prompt and password prompt.

Thanks for your cooperation.
-- 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to