Subject: Re: why a double login??
To: None <greywolf@defender.VAS.viewlogic.com>
From: noud de brouwer <noud@knot.nl>
List: current-users
Date: 04/24/1996 04:50:29
>Try this.  Log in as yourself and type "login <username>" and see if
>it happens again.  If you get prompted twice, the problem is probably in
>login (or, possibly, a security breach, but I doubt it).  If you succeed
>on the first try, the problem is probably in getty somewhere.

I succeeded at once with the getty out of the way.
Furtermore...i found it where only the all-uppercase logins.

>You could try putting a printf in getty which would illustrate the problem.
>Have it print out the name it's looking for via getpwnam(), as well as what
>getpwnam() returns.

oops...i couldn't get the printf working in gettys main.c used puts.
brought me into getname()

>Check the output, and keep us posted :-)

../libexec/getty/main.c:

408        if (upper && !lower && !LC || UC)
changed to:
408        if (upper && !lower && !LC && UC)

Now all my accounts are happy again; logging in at once.
I'm not sure if the change is OK for all situations
(even don't think so, can someone check? thanx)

ThanX greywolf,
~n