rlogin from mgetty

"G.Richter" (richter@ecos.de)
Fri, 4 Apr 1997 08:45:34 +0200



Hi,

I want to start a rlogin when a user dials in via mgetty. I have enter the
following line in login.config:

xmb_rlp xmb_rlp xmb_rlp /usr/bin/rlogin -l xmb_rlp neptun.ecos.de

I also tried 

xmb_rlp - - /usr/bin/rlogin -l xmb_rlp neptun.ecos.de
             
But in both casese it doesn't works. Here are the logfile:

04/04 07:44:44 yS0 match: user='xmb_rlp', key='xmb_rlp'*** hit!
04/04 07:44:44 yS0 login: utmp entry: xmb_rlp
04/04 07:44:44 yS0 utmp + wtmp entry made
04/04 07:44:44 yS0 login: user id: xmb_rlp (uid 523, gid 523)
04/04 07:44:44 yS0 calling login: cmd='/usr/bin/rlogin', argv[]='rlogin -l
xmb_
rlp neptun.ecos.de'
04/04 07:44:44 ##### data dev=ttyS0, pid=2168, caller=none,
conn='26400/LAPM/V42
BIS', name='', cmd='/usr/bin/rlogin', user='xmb_rlp'     
 

--
04/04 07:44:44 yS0 check for lockfiles

If I start the same command from the commandline it works.
If I enter a normal login in login.config it works too.

Has anybody any idea whats wrong?

Thanks Gerald


.