For showing the banner on a telnet session.
Add the following in
/etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
The -b option then the banner file after this allow inetd to reread the conf file by , inetd -c.
After this you will be getting your banner on telnet session.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment