PureFTPd 1.0.19 with MySql Control for OSX Server 10.3 (Panther)

  • ftpAdmin (Rev. 7-11-04) now with quota management.
  • See who is online via terminal.

With Server Admin create a user called "Users" with UID 300 and also create a group called "ftp" with GID 300.
Download and install pureFTPd. (Based on this build instructions)

Open pureFTPd.conf

open -e /usr/pureftpd/pureftpd-mysql.conf

Edit the following lines:

MYSQLUser username
MYSQLPassword password
MYSQLDatabase ftp

Create a database in MySql called "ftp". (ftp.sql)
Download and move ftpAdmin (Rev. 7-11-04) folder to your web server directory. If you're upgrading from a previous version of ftp Admin, you'll have to run tabel_fix.sql (save it to your root directory) via terminal. Be sure to use the new pureftpd-mysql.conf that gets installed with the current version of pureFTPd.

mysql -u username -p
mysql> use ftp;
mysql> \. /private/var/root/ftp_fix.sql
mysql> quit 

Open ftpAdmin configuration file:

open -e /Library/WebServer/Documents/ftpAdmin/connection.inc.php

In the connection line edit username and password to your newly created database.

Download and move (replace) the following file called "ftp" to /private/etc/xinetd.d

If you are using Panther Server Admin app, the on/off switch is funtional, but no other settings can be used.
Make sure that it's turned ON.

REBOOT COMPUTER

Point your browser to http://yourdomain.com/ftpAdmin to add and delete users.

To check via terminal who is active on your FTP:

/usr/pureftpd/sbin/pure-ftpwho -v

Visit pureFTPd website for further information.