Hi all, sorry for the delay of the SUMMARY.
Original Question:
> Is there any way to change the message that telnet gives to users before login
> request???
>
> My system is solaris 2.5.
>
The easier solution is to create a file under /etc called issue , where you put
the message you want display at login.
The best thing I've tried since now comes from James Cayz :
> You need to create a new sh script file, and then point
> inetd.conf to it:
>
> Here is my shell file
> - banner- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> #!/bin/sh
> #
> cat << EOF
>
> Welcome to Del-AWARE, the Digital Library of the First State.
> Enter lynx at the login: prompt to access the Del-AWARE lynx service.
> Enter vista at the login: prompt to access the Full Text Magazine Searches.
> EOF
> exec /usr/sbin/in.telnetd
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> (Note the ^M at the end of lines to get a Carriage Return!)
>
> Here is the appropriate part of inetd.conf
> - Inetd.conf snippet. - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Well, if you want to see a non-standard login prompt...
> #telnet stream tcp nowait root /usr/sbin/in.telnetd
in.telnetd
> telnet stream tcp nowait root /export/local/banner
in.telnetd
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> Yes, this works. To see what it does, telnet lib.de.us .
> [138.123.48.101]
>
The last suggestion is to use tcp-wrapper, but I still haven't tried it.
Good Bye
Andrea Bellinzaghi
--------------------------------------
Andrea Bellinzaghi
Joint Research Center
TP 440 Via E. Fermi 1
21020 Ispra (VA)
Italy
tel: +39-332-785188
fax: +39-332-789074
E-Mail : andrea.bellinzaghi@jrc.it
URL : http://www.jrc.org
FTP : aisws4.jrc.it
--------------------------------------
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:18 CDT