Subject: Re: Login banner change?
To: Nathan J. Williams <nathanw@MIT.EDU>
From: Jim Wise <jwise@unicast.com>
List: netbsd-users
Date: 03/12/1999 15:28:06
-----BEGIN PGP SIGNED MESSAGE-----

On 12 Mar 1999, Nathan J. Williams wrote:

>	Hm. That's possibly useful, but it's not immediately clear
>that that will work reasonably with, say, a telnet session that is
>trying to do encryption. It also doesn't help the non-network login
>case.

It will work with any case that dispatches through inetd(8), and should
get sent before encryption is negotiated, if I understand correctly.  It
also, of course can be used with any service:

$ more /etc/banners/in.ftpd
220-* Welcome, %c
220-*
220-* All access to this host is logged.  Unauthorized access will be prosecuted
220-* to the full extent of the law.  If you do not like this, log off now.

$ grep ftpd /etc/hosts.allow
[...]
in.ftpd:WWW.XXX.YYY.:banners /etc/banners:ALLOW

- -- 
				Jim Wise
				jwise@unicast.com

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBNul434kLDoBfn5jPAQHdjwgAqL//XxHKlIE3UblJ+e6B7zYMWyllse1K
/EMJHTE2uYydfx2Kq4+HkWKLepZBicsG0v6S4mDBmyh1BSqwrM0zSvgoM+vbw0/0
+Qa4atepQJkx1rc4Bos8QlpIG4yDw+zUJ04YJuLKu/9SuceKLztTuG49ya1TVgZD
yrMflpGuTbOKEmoi+6enkvVqw092mXGM291Ck3f2WtZG7HVwGh1PSn6wljD3/Nvh
QrOWr0fPY3JrpCseTyHGGWDouCeesZCVJ0VlXJWZ2cQE0IJOc9UHqWudXZR4w9Uu
LJIZ/9KQMsODwKTevLpyCjIvvsC5KnZghGIfBddbxRXI3AG5araKbA==
=Bnp9
-----END PGP SIGNATURE-----