rlogin from mgetty

Jack Patton (jpatton@intserv.com)
Fri, 4 Apr 1997 12:43:05 -0500 (EST)



On Fri, 4 Apr 1997, G.Richter wrote:

> 
> Hi,
> 
> I want to start a rlogin when a user dials in via mgetty. I have enter the
> following line in login.config:
<snip>
> Has anybody any idea whats wrong?
> 
> Thanks Gerald
> 
> 
> 

Hi Gerald,
 We have a setup where we arbitrarily rlogin anyone who types in a login
name in response to a login prompt. I don't use login.config at all for
this. I have 2 things:

1. A script in /usr/local/bin called relay, which contains the following:

#!/bin/sh
logger -t relay passing off $1 to <host>
rlogin -8E -l $1 <host>

2. In policy.h I define the login program as /usr/local/bin/relay, but I
suppose you could use the login.conf file.

Hope this helps,

Jack Patton
Integrated Computer Services

------------------------------------------------------------------------------
= Integrated Computer Services - http://www.intserv.com - 609-484-0889 = 
= SLIP/PPP - $19.95/mo * Unix shell - $15/mo * Telnet-in shell - $10/mo =
------------------------------------------------------------------------------



.