From owner-freebsd-questions Sat Jan 31 16:12:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA05449 for questions-outgoing; Sat, 31 Jan 1998 16:12:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA05402 for ; Sat, 31 Jan 1998 16:12:04 -0800 (PST) (envelope-from marcus@miami.edu) Received: from localhost by jaguar.ir.miami.edu (PMDF V5.1-10 #24029) with SMTP id <0ENO00N01B7DYG@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Sat, 31 Jan 1998 19:11:37 -0500 (EST) Date: Sat, 31 Jan 1998 19:11:36 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: /etc/issue !? (SYSTEM V only ??) In-reply-to: <34D1E5E9.EEFFAD5A@tdx.co.uk> To: Karl Pielorz Cc: The Administrator , Norman C Rice , freebsd-questions@FreeBSD.ORG 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 X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" I hacked the getty source to allow for the if option. However, I was not so successful with the telnetd source. So, things handled by getty will show the /etc/issue, but not pseudo terminals (terminals handled by telnetd). If anyone would like the modified getty code, let me know. I offer no warranties, but the code does work. Joe Clarke On Fri, 30 Jan 1998, Karl Pielorz wrote: > If you edit your /etc/gettytab, and change the 'default:' entry so it has: > > if=/etc/issue > > In it, e.g. > > default:\ > :cb:ce:ck:lc:fd#1000:if=/etc/issue:sp#1200: > > It should copy the issue file to the tty before issuing the login prompt... Be > warned, this doesn't work on my 2.2.5 system - but others have had it > working... > > (see the man page for gettytab if you get stuck) > > Kp > > The Administrator wrote: > > > > Hi, > > thanks for yor reply. > > Yes /stc/issue is a System V thing > > present anyway in Linux and other unix > > which are derived from BSD like Digital Unix OSF. > > Anyway there is under BSD a file replacing the porpouse of /etc/issue > > for System V ? > > is possible under FreeBSD to have some message displayed before > > the login prompt?? > > there is some way to do it? > > thanks > > > > Rick > > > > On Fri, 30 Jan 1998, Norman C Rice wrote: > > > > > On Fri, Jan 30, 1998 at 01:38:49PM +0000, The Administrator wrote: > > > > > > > > Hello, > > > > I have this problem. > > > > If I write a banner message in /etc/issue > > > > it is not displayed to me before the login prompt > > > > loggin on my host. How come it does not work? > > > > thanks > > > > > > > > Rick > > > > > > > > > > Humm... I thought that `/etc/issue' was a SYSV thing. > > > Anyway, there was a recent thread discussing a work around. > > > You might try searching the archives. > > > -- > > > Regards, > > > Norman C. Rice, Jr. > > > >