ftp server

Journer

Banned
Jun 30, 2005
4,355
0
0
i need to implement an FTP server that can do the following:

1) when you create a user, it creates a folder with their name and allows them only access to that folder. they cannot see anything else.

2) when you delete a user, it removes their user login and deletes the folder and its contents


anyone know something that can do this? preferably unix based
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
vsftp on Linux with user chrooting enabled. The user and home directory creation aren't part of the FTP server but it works like you want.
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
Originally posted by: Nothinman
vsftp on Linux with user chrooting enabled. The user and home directory creation aren't part of the FTP server but it works like you want.

I too meant to ask if the OP would accept other methods of account creation...
 

Journer

Banned
Jun 30, 2005
4,355
0
0
well, the linux option is sort of what we are using now, but with virtual dirs. but, we cant have the users having full local accounts. we only want them to have an ftp account
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I don't know if any FTP servers for Linux that work like that, most rely on the local accounts because then they don't have to worry about authentication, expiration, etc that PAM takes care of for them. Just make sure their shell is set to something like /bin/true so ssh won't work but FTP should be fine. If the FTP server complains about the shell just make sure it's listed in /etc/shells.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,493
395
126
Linux, Windows, whatever, the least that I saw needs at least two step configuration, to set and another two steps to get rid Off.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Globalscape's server lets you run scripts on certain events, I *think* account creation/deletion are two of them...
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Linux, Windows, whatever, the least that I saw needs at least two step configuration, to set and another two steps to get rid Off.

Not really, with Linux if you enable user chroot in vsftp every account created will automatically be chroot'ed when they FTP in so the second step is a one-time thing.