1752864 Members
4115 Online
108791 Solutions
New Discussion

modify telnet message

 
SOLVED
Go to solution
j773303
Super Advisor

modify telnet message

Hi expert,
I've question about how to modify telnet message, kindlys see the below,while telnet to hostB, it would display "HP-UX hostB B.11.11 .....", is it possible modify this message as I want? Thanks.

=========================================
hostA:/#telnet hostB
Trying...
Connected to hostA
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON
HP-UX hostB B.11.11 U 9000/785 2008042368 unlimited-user license
==========================================
Hero
1 REPLY 1
whiteknight
Honored Contributor
Solution

Re: modify telnet message


hi,

Here is the steps :-

There are 2 things that need to be done in order for the security banner to be
displayed at the beginning of telnet sessions. The first is to look at the
telnet entry in /etc/inetd.conf.

grep telnet /etc/inetd.conf

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

The -b option is telling telnet where to look for the banner.
If the -b is not there, edit /etc/inetd.conf and add -b /etc/issue to
the telnet entry. Then execute /usr/sbin/inetd -c to have inetd reread
/etc/inetd.conf.

Now that telnet knows to look at the /etc/issue file, all of the text
in /etc/issue is displayed to users when they telnet into the system

WK
Problem never ends, you must know how to fix it