From owner-freebsd-questions Fri Jul 31 15:27:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13056 for freebsd-questions-outgoing; Fri, 31 Jul 1998 15:27:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt053nd2.san.rr.com (dt053nd2.san.rr.com [204.210.34.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13044 for ; Fri, 31 Jul 1998 15:27:47 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nd2.san.rr.com (8.8.8/8.8.8) with ESMTP id PAA05100; Fri, 31 Jul 1998 15:27:34 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35C244D5.BE3BBC6C@dal.net> Date: Fri, 31 Jul 1998 15:27:33 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE-0507 i386) MIME-Version: 1.0 To: Paul Wolstenholme CC: Doug White , freebsd-questions@FreeBSD.ORG Subject: Re: telnetd /etc/issue patch References: <199807311840.LAA24475@beaufort.sfu.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Wolstenholme wrote: > > > > > > > On Wed, 29 Jul 1998, Paul Wolstenholme wrote: > > > > > Instead of mucking with gettytab, I understand there might be a patch out > > > there for telnetd that allows you to use the /etc/issue file to create a > > > banner before the login prompt. > > > > Yes, if you look at the gettytab(5) manpage you'll find the `if' > > capability. Replace the `im' capability with `if' and specify /etc/issue > > as the file and you should be off and running. > > > Sorry, I did read the man page but missed this entry (Honest ;) ). I > must be retarded because I can't get it to work. I modified the default > setting to: > > default:\ > :cb:ce:ck:lc:fd#1000:if=/etc/issue:sp#1200: > > Created a issue file with read access to all but all I get is the login > prompt. Well I know it should work because a friend and I did the patches to telnetd, et al, and it works on my system. I assume that you are using 2.2.7 or a recent incarnation of -Stable? If so, I think Doug White had it right, try 'killall gettytab' (they'll restart) and if it still doesn't work, reboot. If THAT doesn't work, something is seriously wrong. Doug -- *** Chief Operations Officer, DALnet IRC network *** When you don't know where you're going, every road will take you there. - Yiddish Proverb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message