Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 13:54:54 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Steve Abraham <steve@enets.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: issue / issue.net
Message-ID:  <20000710135454.A28202@dan.emsphone.com>
In-Reply-To: <3969EDF3.88CB1BB@enets.co.uk>; from "Steve Abraham" on Mon Jul 10 16:38:27 GMT 2000
References:  <3969D91C.C4B3BCF9@enets.co.uk> <20000710092846.A16340@dan.emsphone.com> <3969EDF3.88CB1BB@enets.co.uk>

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

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000710135454.A28202>