Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mjf@clark.net (Marc Fraioli)
Subject: Re: Will this ever be answered???
Date: 24 Aug 1994 00:32:18 GMT	[thread overview]
Message-ID: <33e4ei$d20@clarknet.clark.net> (raw)
In-Reply-To: 1994Aug23.150750.620@ecc.tased.edu.au

In article 620@ecc.tased.edu.au,  it_jim@ecc.tased.edu.au (Jim Palfreyman) writes:
>This question has appeared a number of times and no one has answered it. I will
>try again.
>
>I want to change the message that appears *before* the login: prompt. For LAT
>connections the /etc/gettydefs file can be modified. This has the challenge
>that the maximum length of a gettydef entry is 255 characters. How can a larger
>message be displayed.
>
>Secondly connections via telnet run the telnetd. This seems to have the login
>message built into the code. What is the proper way of changing this?
>
Well, you could always change inetd.conf so that it invokes something like
/usr/local/bin/my_login_banner instead of telnetd.  Then my_login_banner
could look like:

printf("What I want to say\n");
execl ("/usr/sbin/telnetd", "/usr/sbin/telnetd", (char *) NULL);

Maybe the system provides a better way, but this at least works, despite
being a little inelegant.  I've seen it done on Suns, but it should work
the same way...

---
Marc Fraioli	      | "They couldn't hit an elephant at this dist- " 
mjf@clark.net         |    - Last words of Union General John Sedgwick,
		      |	   Battle of Spotsylvania Court House, U.S. Civil War




           reply	other threads:[~1994-08-24  0:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1994Aug23.150750.620@ecc.tased.edu.au>]
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