How to build a pure-ftpd Debian package for OpenVZ virtual machines (without capabilities enabled)

The pure-ftpd package that comes with Debian 5.0 (Lenny) does not start in a OpenVZ virtual machine as it is compiled with "capabilities". This tutorial describes the steps to build a pure-ftpd Debian package with capabilities disabled: Make a temporary directory mkdir /usr/src/pure-ftpd cd /usr/src/pure-ftpd Download the source package for pure-ftpd apt-get source pure-ftpd apt-get ... Read more

How to display hidden files with pure-ftpd on Debian and Ubuntu Linux

If hidden files (files that start with a dot like .htaccess, .bash_history, .profile or .ssh) are not displayed in your FTP client, then they are most likely disabled in the FTP server. To enable hidden files in pure-ftpd on Debian and Ubuntu Linux, execute this command: echo "yes" > /etc/pure-ftpd/conf/DisplayDotFiles and then restart pureftpd.

pure-ftpd does not show more then 2000 files on Debian and Ubuntu

The pure-ftp daemon by default has a recursion limit of 2000 files, this prevents the server from showing more then 2000 files when you browse a directory with an FTP client. To expand this Limit to e.g 5000 files, create or edit the file /etc/pure-ftpd/conf/LimitRecursion and add a line "5000 500". The first number is the ... Read more

How to speed up logins in pure-ftpd on Debian or Ubuntu Linux by disable name resolving

If you experience problems with slow logins in pure-ftpd, this is often caused by a problem with the resolving of the clients hsotname. This happens e.g. when you run a FTP server in your intranet and the hostname of the client computer does not exist in DNS. To disable name resolving in pureftpd, run the ... Read more

How to enable verbose logging in pure-ftpd on Debian Linux

To turn on verbose logging (e.g. to debug FTP connection or authentication problems) in  pure-ftpd FTP server on Debian and Ubuntu Linux, execute the following command as root user in the shell: echo 'yes' > /etc/pure-ftpd/conf/VerboseLog and then restart pure-ftpd, for init based systems: /etc/init.d/pure-ftpd-mysql restart For Servers that use systemd: service pure-ftpd-mysql restart The ... Read more