01-23-04 10:11 PM
In article <5d170c0c.0312191030.e842171@posting.google.com>,
matahnuva@yahoo.com (Trent Rivers) wrote:
quote:
> I would like to know if there is way to execute a shell command or a
> shell script any time a user connects via ftpd. I would like to do
> this to track ftp activity for some of our users and log the
> information in a file separate from the standard log. --- TIA
Do you want to execute a shell script on the remote server when someone
ftp's into a specific account? I'm not aware of any ftp daemon that
offers this feature. You may have to modify a PD daemon to do this for
you. However, tracking users on wuftpd is easy. Depending on how it's
built, it can log to a syslog facility that you configure to report to a
separate file. It's not really a wuftp issue, but a syslogd issue.
Find out how your wuftpd was built and what facility to logs to, change
the syslog.conf file and restart syslog (don't remember if HUP will have
it re-read syslog.conf). That should set you up.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[ Post a follow-up to this message ]
|