[thelist] Creating FTP Users with PHP

Daniel J. Cody djc at starkmedia.com
Tue Apr 2 17:04:00 CST 2002

I just want to echo what Hans is suggesting here. Using PHP to insert a
username and password into a DB like MySQL and having you system stuff
read passwords from there instead of the local FS is a really nice idea.

The cool thing is most Unix daemons have some sort of hook in them to
read user authentication from a DB rather than /etc/passwd. Apache,
Proftpd, Postfix, POP3 servers,  most IMAP packages and a ton of other
things can all do this.. And they do it for a reason, its a good idea ;)


On Tuesday, April 2, 2002, at 04:49 PM, Hans Zaunere wrote:
> Another option, which may be better, is to use ProFTPd's external
> authentication abilities, ie to MySQL.  If you're using PAM, you can
> setup a system that completely authenticates to an external source (you
> can do without, however it's not that easy).

More information about the thelist mailing list