Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to log any ftp or telnet session

Status
Not open for further replies.

cpu533

IS-IT--Management
Nov 6, 2003
68
0
0
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
 
What information about these sessions do you want to log?

[morning] needcoffee
 
Thanks for reply. The information I want to know is : when the session begins, how long it lasts, from where, which user.

Thanks,
 
Try the last command. Redirect the output if you want to log it.

[morning] needcoffee
 
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top