Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 16:50:34 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org
Cc:        chrisl@bbs.justcompute.com
Subject:   Re: Serial Communication
Message-ID:  <199606251650.QAA12613@CoDe.CoDe.hu>
In-Reply-To: <Pine.BSF.3.91.960622132717.238G-100000@gdi.uoregon.edu> from "Doug White" at Jun 22, 96 01:33:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Sat, 22 Jun 1996, Chris Lavin wrote:
> 
> > NO what I am trying to do is to use my bsd box as a com server. I want to
> > have people dial in to the BSD machine then get automatically get telneted
> > to a remote site. I don't want them to ever see the login prompt. Can you
> > offer any assistance?
> 
> Hm.  You'll have to hack getty to call telnet instead of login.  I 
> wouldn't know how to do this.  

/etc/gettytab, if I remember well, the lo variable

> You could make an account like "bbs" with no password that as it's first 
> action in .profile telnets to the desired location.  The next line will 
> be "exit".

It would be cheaper to exec telnet.  After it, you don't need an explicit
exit, and you can save one process.


-- 
	Gabor Zahemszky <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606251650.QAA12613>