SUMMARY: banner message with telnet

From: Johan Schrijvers (js@sunland.be)
Date: Wed May 19 1993 - 07:00:40 CDT


Hello managers,

My question was :

>
> Is there a possibility to have a banner message when you use telnet login?
> We are using Solaris 1.1.
>
>
> Example :
> ---------
>
> Hello you are connected to ...
> Login :
>

There were 3 kinds of answers

1) Change the following line in the /etc/inetd.conf file
> telnet stream tcp nowait root /usr/etc/in.telnetd in.telnetd

into
> telnet stream tcp nowait root /usr/local/banner in.telnetd

And create the file "/usr/local/banner"
---------------------------------------------
#!/bin/sh
#
cat << EOF
     
     Hello, you are connected to ...
EOF

exec /usr/etc/in.telnetd
---------------------------------------------

I tried this and it works fine.

2) Edit the /etc/gettytab file

default:\
        :ap:im=\n\nOur Company Name Here\n\n:lm=\r\n%h login\72 :sp#9600:

This didn't work when I tried it.

3) To do this you need to replace the in.telnetd on your system. You can get
the BSD telnetd source from ftp.uu.net.

I didn't test this possibility. The first solution is much easier.

Thanks to :
abcomp!yves
emcgon@ca.dcu.ie
hasley@andy.bgsu.edu
flex1!todd
phill2@hivnet.ubc.ca
strombrg@hydra.acs.uci.edu
jim@pi-chan.ucsb.edu
murff@irt.com
mcsun!bchspd!tma
blymn@mulga.awadi.com.AU
pauls@postman.essex.ac.uk
bernards@ECN.NL
djh@igor.rational.com
phil@compnews.co.uk
gateway!shipley
mrp@itd.adelaide.edu.au



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:51 CDT