Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!sdd.hp.com!cnd.hp.com!jmc From: jmc@cnd.hp.com (Jerry McCollom) Newsgroups: comp.sys.hp Subject: Re: putting a message before the LOGIN PROMPT??? Message-ID: Date: 6 Feb 91 14:54:00 GMT References: <1991Jan25.171500.22558@hoss.unl.edu> <17780004@hpfcmgw.HP.COM> Sender: news@sdd.hp.com (Usenet News) Organization: Colorado Networks Division, Hewlett-Packard Co. Lines: 37 In-Reply-To: Kimmo.Suominen@lut.fi's message of 6 Feb 91 13:54:47 GMT Nntp-Posting-Host: hpcndnm.cnd.hp.com In article Kimmo.Suominen@lut.fi (Kimmo Suominen) writes: > Glen> Create a file /etc/issue with the information you want displayed. > > That doesn't do it for the telnet connections. We have a total of one > (1) terminal connected directly to the mux and through getty - it is > the console ;-) > > As far as I know, there's no "/etc/issue" equivalence for incoming > telnet calls. The solution I've always recommended is as follows: 1. Create a script called "/etc/telnetd-banner" (or whatever you want to call it): #!/bin/sh cat /etc/issue # or whatever banner you want exec /etc/telnetd and make it executable. 2. Change the telnet line in /etc/inetd.conf to: telnet stream tcp nowait root /etc/telnetd-banner telnetd 3. Reconfigure inetd: /etc/inetd -c You'll get the /etc/issue banner at subsequent telnet logins. Jerry McCollom Hewlett Packard, Colorado Networks Division jmc@cnd.hp.com