Web Hosting Talk







View Full Version : Web based FTP User control


neoshell
02-13-2004, 02:43 AM
I'm looking for a web based control panel just for handling User account (user self admin) for FTP. I've played around with cPanels feature and package manager but it looks crappy and cPanel nerfs Pureftpd and Proftpd where server to server transfers are damn near impossible. Anyone know of a Linux based solution?

SkullOne
02-13-2004, 05:32 AM
I wrote a simple PureFTP/Mysql/Virtualuser control panel for use on my own servers.
It was relatively easy, but I don't feel comfortable distributing it (sorry that doesn't help, but wait)

Getting pureftpd to use mysql, and hence supporting virtual users is -very- easy.
You just setup a couple tables, for username, password, home directory, user id, group id. I also did a few extras, like what domain the user is associated with, so I could support shared folders for multiple users.
Pureftp has a real easy method of authenticating against mysql also, you just make a configuration file, containing mysql server address, and the pointers to the tables you need to access.
I dont know of any open source projects that will do this easier, but I'm sure there are some (its relatively easy to accomplish).
Sorry i cant provide some actual scripts, though, but theyre part of my company and I would rather not distribute them (liability, and security reasons :(

thedavid
02-13-2004, 05:34 AM
Webmin has a proftp section. You can define users within webmin so they only have access to xyz modules, so it sounds like that might work. Not sure if it supports virtual user logins though (ala cpanel) defining their own logins.

Have you looked at directadmin? (http://www.directadmin.com/)

neoshell
02-13-2004, 11:11 AM
I've actually gone the route of getting quotes from a few developers to try to build something custom based on some other requirements we have. We've also picked up sponsorship of a few open source projects we believe will make excellent service offerings in the near future. I didn't know about webmin having that kind of access, I'll definately have to check into that. cPanel could be made to work but FXP won't and no amount of playing with config files seems to fix it. I asked cPanel to tell me the secret and they refused saying their nerfing of other apps is outside the realm of thier tech support. blah....

kckclass
02-14-2004, 01:43 AM
How much control do you need? In my case I keep a customer.dat file with domain names in it and have a utility that uses that file to generate the apache httpd.conf file, setting roots and directories and it works pretty well so by uploading a NEW customer.dat file every 10 seconds it polls that and BANG...delivers/creates new subdirectories and permissions, restarts apache with new conf file and away we go. That could all be handled via ftp by just posting the little 500 byte file.


Then there would probably be email accounts to create which I do NOT handle with customer.dat ... yet...