>Logging telnet sessions

By | December 21, 2009

>We can use TCP Wrapper in logging telnet access of system. spawn is used to launches shell command as child process, this concept can be used to log telnet session. To achieve this just do following entries in /etc/hosts.allow on system hosting telnet server
    

in.telnetd : .abc.com  : spawn /bin/echo `/bin/date` from %h>>/var/log/telnet.log : allow
Share itShare on FacebookEmail this to someoneTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *