Problem
I want to suppress the fully qualified host name, the operating system and release, and the tty port when another host telnets to my host.
Solution
The standard response to a telnet session is as follows:
# telnet sequoia
Trying 132.147.144.76...
Connected to sequoia.
Escape character is '^]'.SCO OpenServer(TM) Release 5 (sequoia.uss.sco.com) (ttyp21)login:To modify the telnetd response:(1) Edit /etc/inetd.conf to include a '-h' option as follows:
telnet stream tcp nowait NOLUID /etc/telnetd telnetd -hThe original /etc/inetd.conf entry should be as follows:
telnet stream tcp nowait NOLUID /etc/telnetd telnetd(2) Invoke:kill -1 `cat /etc/inetd.pid`This will cause inetd to reread the /etc/inetd.conf table.
As a result of this change, the new response to telnet is:
# telnet sequoia
Trying 132.147.144.76...
Connected to sequoia.
Escape character is '^]'.
login: