Comments on FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2

This document describes how to install a PureFTPd server that uses virtual users from a MariaDB (MySQL compatible) database instead of real system users. This is much more performant and allows to have thousands of FTP users on a single machine. In addition to that, I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Emanuele

I followed the guide but when I try to connect recive message error "can't login".I check and home directory not created automatically.

Thanks

By: Paco

 Thank you for the guide!

But I have a problem when I try to connect:

Comando:    USER xxxxRespuesta:    331 User xxxx OK. Password requiredComando:    PASS ********Respuesta:    530 Login authentication failedError:    Critical error: No se pudo conectar al servidor

By: Tyler Bird

For both of the comments above.  Did you end up changing the password for the MYSQLPassword setting in the /etc/pure-ftpd/pureftpd-mysql.conf file?  If so, double check that you provide the correct password.

By: Indranil

Hi I checked for the password in /etc/pure-ftpd/pureftpd-mysql.conf and have also changed it to relevant one but still, it is unable to create the directory ... can you please help me out in this ... 

By: Ryan

Hey man!I just wanted to say a big thank you for this excelent guide! Much appreciated! Cheers!