Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 19:56:49 +0100
From:      Steve Abraham <steve@enets.co.uk>
To:        Dan Nelson <dnelson@emsphone.com>, questions@freebsd.org
Subject:   Re: issue / issue.net
Message-ID:  <396A1C71.109CD9AA@enets.co.uk>
References:  <3969D91C.C4B3BCF9@enets.co.uk> <20000710092846.A16340@dan.emsphone.com> <3969EDF3.88CB1BB@enets.co.uk> <20000710135454.A28202@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396A1C71.109CD9AA>