ftpd


Installing PureFTPd with MySQL Backend on Gentoo

The FTP accounts will be stored in a mysql database table.  First let's install pureftpd: USE="pam ssl mysql" emerge pure-ftpd Once the installation is finished, there are 2 main configuration files in /etc/conf.d:   /etc/conf.d/pure-ftpd IS_CONFIGURED="yes" # the server won't start up if set to "no" SERVER="-S 21" # server port MAX_CONN="-c 30" # maximum number […]


ProFTPd with MySQL Backend on Debian

First of all we install the needed packages: apt-get install proftpd proftpd-mysql mysql-server The configuration files of the proftpd server are in /etc/proftpd.   First we edit the file /etc/proftpd/modules.conf and insert/uncomment the following lines: LoadModule mod_sql.c LoadModule mod_sql_mysql.c   Then we should create the mysql database and the table that will contain the proftpd users: CREATE DATABASE […]