Hi!

On Wed, Feb 16, 2011 at 1:45 AM, NIIBE Yutaka <gni...@fsij.org> wrote:
> Sorry not to respond your bug report earlier.  It was not reproducible
> for me at that time.

No problems ;-)

> For new machine, I installed ngetty and wrongly have two lines like:
>
>        1:2345:respawn:/sbin/getty 38400 tty1
>        ng:2345:respawn:/sbin/ngetty 1 2 3 4 5 6
>
> Then, I encounter similar problem.

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.

> Could you please check output of "ps aux" and see if you have other
> getty or ngetty process(es), when you see this problem?

Only "/sbin/ngetty 1 2 3 4" running here.

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.

In /var/log/auth.log I see:

b 16 00:36:43 orthrus login[8597]: pam_unix(login:auth):
authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1
ruser= rhost=  user=naoliv
Feb 16 00:36:46 orthrus login[8597]: FAILED LOGIN (1) on '/dev/tty1'
FOR 'naoliv', Authentication failure
Feb 16 00:36:57 orthrus login[8597]: pam_unix(login:auth): check pass;
user unknown
Feb 16 00:36:57 orthrus login[8597]: pam_unix(login:auth):
authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1
ruser= rhost=
Feb 16 00:37:00 orthrus login[8597]: FAILED LOGIN (2) on '/dev/tty1'
FOR 'UNKNOWN', Authentication failure
Feb 16 00:37:11 orthrus login[8597]: pam_unix(login:auth): check pass;
user unknown
Feb 16 00:37:14 orthrus login[8597]: FAILED LOGIN (3) on '/dev/tty1'
FOR 'UNKNOWN', Authentication failure
Feb 16 00:37:58 orthrus login[8609]: pam_unix(login:auth): check pass;
user unknown
Feb 16 00:37:58 orthrus login[8609]: pam_unix(login:auth):
authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1
ruser= rhost=
Feb 16 00:38:00 orthrus login[8609]: FAILED LOGIN (1) on '/dev/tty1'
FOR 'UNKNOWN', Authentication failure

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

Thank you!

Best regards,
Nelson

Attachment: inittab
Description: Binary data

Reply via email to