Unix administration - execute a command with login to wuftpd (wu-2.6.2-11.73.1)

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > execute a command with login to wuftpd (wu-2.6.2-11.73.1)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author execute a command with login to wuftpd (wu-2.6.2-11.73.1)
Trent Rivers

2004-01-23, 5:11 pm

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
Michael Vilain

2004-01-23, 5: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...



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com