From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011887.tru64-unix-managers.marc@archive.invalid> From: Richard Bemrose Date: Thu, 25 Jun 1998 23:19:18 +0000 To: tru64-unix-managers Subject: SUMMARY: another "Changing login text" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011887 Hi gurus, Thanks go to the following people for their quick replies: Sean O'Connell (within 4 minutes!!!) Bruce Kelly "Dr. Tom Blinn, 603-884-0646" "William H. Magill" In my original poster I asked how one could display a message before the telnet login prompt running Digital UNIX V3.2. I must first point out an update to Harry Hahn's summary as reported by Tom Blinn. Under Digital UNIX V4.0 the correct file name for the banner is /etc/issue (run: strings /usr/sbin/getty | grep etc). Although /etc/issue.net works the 'fix' was introduced around 1995. Returning to Digital UNIX V3.2 (in fact also probably other vendors), William H. Magill suggested the following modification to the /etc/inetd.conf: (all on one line!) -- cut -- telnet stream tcp nowait root /usr/local/bin/telnet-banner /usr/sbin/telnetd telnetd -- cut -- where /usr/local/bin/telnet-banner is: -- cut -- #!/bin/sh cat /etc/issue exec $* -- cut -- ...and created with file permission of 755. Isn't life that simple at times B:-) Regards, Rich /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\ /_/ Richard A Bemrose /_\ Polymers and Colloids Group \_\ /_/ email: rb237@phy.cam.ac.uk /_\ Cavendish Laboratory \_\ /_/ Tel: +44 (0)1223 337 267 /_\ University of Cambridge \_\ /_/ Fax: +44 (0)1223 337 000 /_\ Madingley Road \_\ /_/ (space for rent) / \ Cambridge, CB3 0HE, UK \_\ /_/_/_/_/_/_/ http://www.poco.phy.cam.ac.uk/~rb237 \_\_\_\_\_\_\ "Life is everything and nothing all at once" -- Billy Corgan, Smashing Pumpkins