*BSD News Article 76819


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!newsfeeder.gi.net!newsfeed.internetmci.com!in3.uu.net!NewsWatcher!user
From: admin@net1.intermac.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: getty and mgetty
Date: 24 Aug 1996 06:27:10 GMT
Lines: 14
Message-ID: <admin-2408960232080001@206.65.200.5>
References: <admin-1708962124300001@206.65.200.5> <4vhv0g$f0@anorak.coverform.lan>
NNTP-Posting-Host: 206.65.200.5
X-Newsreader: Yet Another NewsWatcher 2.1.8

In article <4vhv0g$f0@anorak.coverform.lan>, brian@awfulhak.demon.co.uk
(Brian Somers) wrote:

> Why not get init to initiate some other program instead of getty ?  In
> /etc/ttys:
> 
> ttyd0 "/usr/bin/telnet othermachine #" unknown off

I tried that. I got no prompt. Nothing.

In any case, thanks to Joerg Wunsch, I, duh, read the manpage for gettytab
and got getty to call my shell script that telnetted to the other machine.

Dave