From owner-freebsd-questions Fri Jul 31 13:58:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25535 for freebsd-questions-outgoing; Fri, 31 Jul 1998 13:58:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25521 for ; Fri, 31 Jul 1998 13:58:51 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id NAA02043; Fri, 31 Jul 1998 13:58:41 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 31 Jul 1998 13:58:40 -0700 (PDT) From: Doug White To: Paul Wolstenholme cc: freebsd-questions@FreeBSD.ORG Subject: Re: telnetd /etc/issue patch In-Reply-To: <199807311840.LAA24475@beaufort.sfu.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 31 Jul 1998, 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. Did you restart the getty? (I guess you did if the im= information disappeared.) Hm... to the source! ... source says it should work. What version of FreeBSD are you on? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message