From owner-freebsd-questions Tue Jun 25 07:52:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03850 for questions-outgoing; Tue, 25 Jun 1996 07:52:42 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA03811 for ; Tue, 25 Jun 1996 07:52:25 -0700 (PDT) Received: by mail.EUnet.hu, id QAA00551; Tue, 25 Jun 1996 16:51:39 +0200 Received: by CoDe.CoDe.hu (QAA12613); Tue, 25 Jun 1996 16:50:34 GMT From: Gabor Zahemszky Message-Id: <199606251650.QAA12613@CoDe.CoDe.hu> Subject: Re: Serial Communication To: freebsd-questions@freebsd.org Date: Tue, 25 Jun 1996 16:50:34 +0000 (GMT) Cc: chrisl@bbs.justcompute.com In-Reply-To: from "Doug White" at Jun 22, 96 01:33:22 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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 -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky