Jul 7, 2005 #1 cpu533 IS-IT--Management Nov 6, 2003 68 CA Hi there, I think there maybe more people are interested in this issue. My question is : Is there a way to log any ftp or telnet session? Thanks, Denny
Hi there, I think there maybe more people are interested in this issue. My question is : Is there a way to log any ftp or telnet session? Thanks, Denny
Jul 7, 2005 #2 needcoffee MIS Apr 28, 2003 122 US What information about these sessions do you want to log? needcoffee Upvote 0 Downvote
Jul 8, 2005 Thread starter #4 cpu533 IS-IT--Management Nov 6, 2003 68 CA Thanks for reply. The information I want to know is : when the session begins, how long it lasts, from where, which user. Thanks, Upvote 0 Downvote
Thanks for reply. The information I want to know is : when the session begins, how long it lasts, from where, which user. Thanks,
Jul 8, 2005 #5 needcoffee MIS Apr 28, 2003 122 US Try the last command. Redirect the output if you want to log it. needcoffee Upvote 0 Downvote
Jul 11, 2005 #6 hfaix MIS Nov 25, 2003 596 US This is how I log ftp traffic. Try it on a test system first 1. modify /etc/syslog.conf by adding: daemon.debug /mydir/mylogname.log (make sure the directory exists) 2. smit inetdconf and add the -d flag to the ftp daemon ( this adds the -d to to inetd.conf ) 3. refresh the daemons refresh -s inetd refresh -s syslogd Upvote 0 Downvote
This is how I log ftp traffic. Try it on a test system first 1. modify /etc/syslog.conf by adding: daemon.debug /mydir/mylogname.log (make sure the directory exists) 2. smit inetdconf and add the -d flag to the ftp daemon ( this adds the -d to to inetd.conf ) 3. refresh the daemons refresh -s inetd refresh -s syslogd