Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!DCDMJW.FNAL.GOV!wicks From: wicks@DCDMJW.FNAL.GOV ("Matthew J. Wicks") Newsgroups: comp.sys.sgi Subject: (none) Message-ID: <9012032209.AA08627@dcdmjw.fnal.gov> Date: 3 Dec 90 22:09:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 33 From wicks Mon Dec 3 16:08:30 1990 Subject: Re: anon ftp config advice >>Date: Mon, 3 Dec 90 16:31:00 EST >>From: "Dan Karron (karron@nyu.edu" >>Subject: anon ftp config advice >> >>How can I log what anonymous users are doing on my anon ftp account ? >> >>I would like to keep stats on what people are taking (to justify >>the popularity of my junk for my boss). I don't believe there is any way to only log anonymous ftp, but you can turn on logging for ftp and then write a simple script to filter out the anonymous ftp lines. First of all, to turn on ftp logging, the following should be placed in /usr/etc/inetd.conf ftp stream tcp nowait root /usr/etc/ftpd ftpd -l Then execute: "/etc/killall -1 inetd" to restart inetd. The following line then can be used to look at any ANONYMOUS FTP access: grep ftpd /usr/adm/SYSLOG |grep "ANONYMOUS" Matt Matt Wicks Fermi National Accelerator Laboratory 708-840-8084 wicks@fnal.fnal.gov