From: Richard Bemrose <rb237 () phy ! cam ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: another "Changing login text"
Date: Thu, 25 Jun 1998 23:19:18 +0000 [thread overview]
Message-ID: <96078712011887.tru64-unix-managers.marc@archive.invalid> (raw)
Hi gurus,
Thanks go to the following people for their quick replies:
Sean O'Connell <sean@stat.Duke.EDU> (within 4 minutes!!!)
Bruce Kelly <kellybe@llnl.gov>
"Dr. Tom Blinn, 603-884-0646" <tpb@zk3.dec.com>
"William H. Magill" <magill@isc.upenn.edu>
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
reply other threads:[~1998-06-25 23:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox