Skip site navigation (1)Skip section navigation (2)
Date:      5 Jun 1997 02:00:50 +0200
From:      sec@42.org (Stefan `Sec` Zehl)
To:        freebsd-questions@freebsd.org
Subject:   Re: How to 'watch' an FTP User
Message-ID:  <slrn5pc0di.8ph.sec@matrix.42.org>
References:  <19970603173741.14916@scsn.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In article <19970603173741.14916@scsn.net>, Donald J. Maddox wrote:
>     The 'watch' command is very handy for observing what someone logged into
> your machine is doing, as they do it.  Is there an analogous program for
> watching what ftp users logged in to the system are doing?  Or, is there a
> way of using 'watch' for this that I've missed?

I changed the line in /etc/inetd.conf to:
ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -d -l -l

and in /etc/syslog.conf:
ftp.debug                                       /var/log/ftp

So i can see every 'movement' made by the ftp 'users' - it generates a
lot of data though, so you shouldn't forget to rotate the logfile every
once in a while :)

CU & HTH,
	Sec
-- 
Fuer die Raupe ist es das Ende der Welt,
Fuer den Rest der Welt ist es ein Schmetterling
							    Error 0: No error



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?slrn5pc0di.8ph.sec>