LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2006, 08:00 PM   #1
p0ser
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
FTP server with events


Hi guys,

I've installed both vsftpd and pure-ftpd in my box, but AFAIK they don't support events like OnUserLoggin, OnFileUpload, etc.. I need a scrpit to be executed everytime a user logins, and I'm finding that goal surprisingly difficult to achieve under Linux, specially when almost every windows server has support for these kind of events (Gene6, Serv-U, etc).

What do you recommend?

Thanks in advance.
 
Old 01-11-2006, 08:35 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I don't know of any options to have vsftpd run a script. Can you tell us what you want the script to do? There may be another way to achieve the same thing.
 
Old 01-12-2006, 06:23 AM   #3
p0ser
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gilead
I don't know of any options to have vsftpd run a script. Can you tell us what you want the script to do? There may be another way to achieve the same thing.
Sure gilead, thanks for the reply. I'd like my ftpd to execute a simple bash script whenever a users logs in. In particular, I need it to mount a samba share in another machine, so a symlink in the user home dir works.
 
Old 01-12-2006, 12:05 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm not optimistic, but vsftpd supports the session_support option. It requires pam but it doesn't say in the docs whether it will cause the users normal startup scripts to run on login. If they did, you could put the mount script in .bash_profile.
 
Old 01-12-2006, 04:43 PM   #5
p0ser
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gilead
I'm not optimistic, but vsftpd supports the session_support option. It requires pam but it doesn't say in the docs whether it will cause the users normal startup scripts to run on login. If they did, you could put the mount script in .bash_profile.
Further research lead me to wzdftpd [wzdftpd.net] and glFTPd [glftpd.com] which, from what I understood, support scripts/events. I'm goona give them a try this weekend, as I'm kinda busy atm. Will report my experience later. If none of them work I might try your vsftpd suggestion.
Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
How do I set my FTP server to accept passive FTP? imsam Linux - Newbie 3 12-12-2004 06:22 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration