rlogin from mgetty

"G.Richter" (richter@ecos.de)
Fri, 4 Apr 1997 14:29:12 +0200


> From: Gert Doering <gert@greenie.muc.de>
> G.Richter wrote:
> > > > --
> > > > 04/04 07:44:44 yS0 check for lockfiles
> > > > 
> > > > Yes, mgetty job is done, but rlogin doesn't do anything. If you see
the
> > > > logfile above, mgetty starts over without any pause. (rlogin is
started
> > at
> > > > 07:44:44 and mgetty restarts at 07:44:44)
> > > 
> > > Is there any error message? Anything?
> > > 
> > No nothing! This is my problem. Not in mgetty logfile nor in syslog nor
at
> > the terminal program which is connected to the modem.
> > In the syslog of the destination host there is also no message (If I
> > connect from the command line I get an entry to the syslog of the
remote
> > host)
> 
> This is really weird.
> 
> > Are there any more possibilities to debug this?
> 
> You could try "telnet" instead of rlogin, and see whether this will
> work...
> 
telnet works, but my telnet demon does not support auto login, so I get the
login prompt, that shouldn't appear.

I have tried to first login in a normal account via mgetty and than execute
the rlogin. Now I can see rlogin terminates with a Segmentation fault.
If I login to the same account via a telnet session (or on the console) and
excutes rlogin it works!
If have compared the environement settings, but found no differences. What
else can be different between telnet and mgetty login?

Gerald

BTW. I have tried this with megtty 1.0.0 and an old version of mgetty 0.99
(oct 95). I am running a linux 2.0.27


.