From owner-freebsd-questions Fri Jul 31 18:09:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07731 for freebsd-questions-outgoing; Fri, 31 Jul 1998 18:09:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07707 for ; Fri, 31 Jul 1998 18:09:48 -0700 (PDT) (envelope-from wolstena@sfu.ca) Received: from beaufort.sfu.ca (wolstena@beaufort.sfu.ca [192.168.0.110]) by rm-rstar.sfu.ca (8.8.7/8.8.7/SFU-4.0H) with SMTP id SAA14712; Fri, 31 Jul 1998 18:09:38 -0700 (PDT) From: Paul Wolstenholme Received: by beaufort.sfu.ca (951211.SGI.8.6.12.PATCH1502/SFU-2.7C) id SAA07670 (from wolstena@sfu.ca); Fri, 31 Jul 1998 18:09:38 -0700 Message-Id: <199808010109.SAA07670@beaufort.sfu.ca> Subject: Re: telnetd /etc/issue patch To: Studded@dal.net (Studded) Date: Fri, 31 Jul 1998 18:09:37 +1700 (PDT) Cc: wolstena@sfu.ca, dwhite@resnet.uoregon.edu, freebsd-questions@FreeBSD.ORG In-Reply-To: <35C244D5.BE3BBC6C@dal.net> from "Studded" at Jul 31, 98 03:27:33 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-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 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 Followed your instructions and concluded that something was "seriously wrong" or a least mucked up a bit. So, I decided that this was as good a time as any to upgrade to 2.2.7 and wouldn't ya know it seemed to have fixed the probelm. /Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message