From owner-freebsd-questions Mon Jul 10 11:58:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.omn.net (atlantis.omn.net [212.158.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 4877E37BA7E for ; Mon, 10 Jul 2000 11:58:07 -0700 (PDT) (envelope-from steve@enets.co.uk) Received: from enets.co.uk (sabre3.sja.co.uk [212.158.68.7]) by mail.omn.net (8.10.1/8.10.1/Omnitech-2.0.0) with ESMTP id e6AK03c27630; Mon, 10 Jul 2000 20:00:03 GMT Message-ID: <396A1C71.109CD9AA@enets.co.uk> Date: Mon, 10 Jul 2000 19:56:49 +0100 From: Steve Abraham Reply-To: steve@enets.co.uk Organization: eNets Ltd X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson , questions@freebsd.org Subject: Re: issue / issue.net References: <3969D91C.C4B3BCF9@enets.co.uk> <20000710092846.A16340@dan.emsphone.com> <3969EDF3.88CB1BB@enets.co.uk> <20000710135454.A28202@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > > In the last episode (Jul 10), Steve Abraham said: > > Dan Nelson wrote: > > > In the last episode (Jul 10), Steve Abraham said: > > > > Can anyone tell me where the FreeBSD equivelant of the Linux > > > > /etc/issue.net file? If there is nothing, what needs to be done > > > > to customise the telnet login screen? > > > > > > The equivalent is whatever filename you put in the :if=: capability > > > /in etc/gettytab. man gettytab for more info. > > > > I've specified the following, but it sees to ignore it and still > > displays nothing... > > > > default:\ > > :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:if=/etc/issue: > > Hmm. Works fine for me (on -current). Note that there is a 1024-byte > limit on the if= file, or telnetd will coredump. You can probably > raise the limit by editting telnetd.c, lines 130 and 131, and changing > the arrays from BUFSIZ (i.e. 1024) to something larger. I thought of that, but the file is as follows... -rw-r--r-- 1 root wheel 656 Jul 10 12:27 issue S. --- Steve Abraham eNets Ltd UK steve (at) enets.co.uk http://www.eNets.ltd.uk T: +44 (0)1463 861311 F: +44 (0)8702 840220 M: +44 (0)7770 332765 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message