Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

How-To: FTP Virtual Host with ProFTPD and MySQL

Posted by chantra on 21st May 2007

This entry is part 1 of 2 in the series How-To: FTP Virtual Host with ProFTPD and MySQL

Using ProFTPD and its SQL module for MySQL, it is possible to give FTP access to non system users.
By doing so, one can give access to a Virtual User which is only allowed to use the FTP service.

This Tutorial will show how to create and populate the user and group tables as well as configure proftpd in order to use the MySQL backend.

Read the rest of this entry »

Tags: , ,
Posted in Administration, HowTo, Networking, System | No Comments »

How-To: FTP Virtual Host with ProFTPD and MySQL — page 2

Posted by chantra on 22nd May 2007

This entry is part 2 of 2 in the series How-To: FTP Virtual Host with ProFTPD and MySQL

4. Configure ProFTPd:

ProFTPd main configuration file is /etc/proftpd/proftpd.conf. On Debian, proFTPd over the capability of including files from the main configuration file. Thus, we are going to create a file call /etc/proftpd/mysql.conf which we will include from the main file.
This has the advantage that if the new config is not working, we can easily comment our include and fall back to the previous config.

So, get ready with your favorite text editor, edit /etc/proftpd/mysql.conf and put the following inside:

Read the rest of this entry »

Tags: , ,
Posted in Administration, HowTo, Networking, System | No Comments »