From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e5dee0e364573651 X-Google-Attributes: gidfee84,public From: "Alan J. Wylie" Subject: Re: Changing telnet login banner Date: 1998/07/10 Message-ID: <35A645A2.707C6F01@cyrano.com>#1/1 X-Deja-AN: 370403814 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: psldev.demon.co.uk:158.152.145.235 References: <35A5D3C3.6DB5@vf.vodafone.co.uk> To: dave.campbell@vf.vodafone.co.uk Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 900130944 nnrp-06:13537 NO-IDENT psldev.demon.co.uk:158.152.145.235 Organization: Cyrano (UK) Ltd. Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Dave Campbell wrote: > > How I change the login banner on a 4.0B/D D unix box from the standard > "Digital UNIX (hostname) (terminal)" to prevent the type of system from > being advertised? > > -Dave. $ strings /usr/sbin/telnetd | grep Digital Digital UNIX (%h) (%t) Digital UNIX Version Looks like the default banner is hard coded. Is strings(1) going to be illegal in the US under bill HR 2281? $ man telnetd > In addition to the default system login banner, the telnetd daemon supports > the use of customized login banners. You can create customized banners in > the following ways: > > + Creating an entry in the /etc/gettydefs file with the identifier > "default" and specifying a login banner in the message field. See > gettydefs(4) for more information. > e.g. (very simplistically) default###xxx#xxx this seems to do what you want > + Creating a /etc/issue file and specifying the login banner informa- > tion. still displays the hard coded message as well I presume that you are only concerned about messages displayed before a successful login. -- Alan J. Wylie (Cyrano UK Ltd.) | mailto:awylie@cyrano.com http://www.cyrano.com | http://www.zen.co.uk/home/page/alan.wylie