From: aclark@netcom.com (Al Clark) Subject: Re: Anyone else have login-problems (password unrecognized) ? Date: Tue, 9 Feb 1993 22:25:39 GMT
In article <C25wxn.2yu@fiu.edu> root@scs (Operator) writes:
>
[ Description of login problem deleted; responding to following ]
>Actually, I have noticed problems with login that are far worse.
^^^^^^^^
See below.
>The login prompt for a fresh install of SLS says
>softland login:
>
>sometimes, though, it will just say
>
>login:
>
>pressing control-D at this point will bring you back to the softland login:
>prompt.
>
>Also, if you enter in a login for a non existant user (lets say 'fred'), here
>is what happens :
>
>softland login:fred
>Password: <any password, since the user does not exist>
>Login incorrect
>login: <note that the 'softland' part is missing).
>
>If you switch to another virtual console at this point, and do a ps, you will
>notice the following process :
>
>PID TT STAT TIME COMMAND
> .
> .
> xx x xx xxxx login fred
> .
> .
>
>If you hit control-D, then the 'softland login:' prompt returns, and the
>login process dies.
>
>If you hold down control-D, or hit it a massive number of times from any
>login: prompt, init will shut down that login process for 5 minutes because
>it is respawning too quickly.
>
>If anyone knows anything, or can help, it would be appreciated, especially
>considering the importance of a program like login.
>
>No email, please.
your first prompt is from the 'getty' process. Once you enter
a name it exec's the /bin/login file and that process prompts
for the password, and reprompts for login if necessary. The
'softland login' is coming from getty, the 'login' from
/bin/login. normally, on a good passwd, login execs your
shell. At the conclusion of your session, the shell exits and
init respawns another getty. Note the same pid applies all the
way through a login session. The Control D terminates the
login session, and init spawns another getty. If you enter
Control D a massive number of times, init responds by not
spawning getty for a while, assuming a tty problem.
Seems like all is operating as designed as far as I can see.
-- Al - aclark@netcom.com - My opinions are my own. -- Al - aclark@netcom.com - My opinions are my own.