Installing Pure-FTPd with GUI on Ubuntu 13.10

Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server. It doesn’t provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers – Frank DENIS

Below is step by step instruction on how to setup Pure-FTPd service and Pureadmin (FTP server with GUI) on Ubuntu 13.10 with Virtual User support

Step 1: Install Pure-FTPd Package

sudo apt-get install pure-ftpd pureadmin


– Edit the file pure-ftpd-common using command below and change STANDALONE_OR_INETD=inetd to STANDALONE_OR_INETD=standalone

vim /etc/default/pure-ftpd-common


Step 2: Create & Configure Accounts

– Run following commands to create an ftpgroup and ftpuser account

sudo groupadd ftpgroup

sudo useradd -g ftpgroup -d /dev/null -s /etc ftpuser

– Create ftpusers directory

sudo mkdir /home/ftpusers

– Create directory for a new user called ‘sysads‘. It can be any of your new user account since it will be dedicated only to the account owner

sudo mkdir /home/ftpusers/sysads

– Create virtual user and map to home folder earlier created. Enter new password

sudo pure-pw useradd sysads -u ftpuser -d /home/ftpusers/sysads/

– Update virtual username/password database

sudo pure-pw mkdb


Step 3: Create Symbolic links

sudo ln -s /etc/pure-ftpd/pureftpd.passwd /etc/pureftpd.passwd

sudo ln -s /etc/pure-ftpd/pureftpd.pdb /etc/pureftpd.pdb

sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB


Step 4: Create Config File

– Create the file UnixAuthentication and enter string no

vim /etc/pure-ftpd/conf/UnixAuthentication

– Modify the permissions of /home/ftpusers directory and of any other sub-directories. The owner must be ftpuser while Group must be ftpgroup

sudo chown -R ftpuser:ftpgroup /home/ftpusers/


Step 5: Start Pureadmin

gksudo pureadmin

– Now click on Manage Users and you will see the virtual user account earlier created using the command line. You can add a new virtual user or edit the existing account


Step 6: Connect to Pure-FTPd

– Using a client side application like FileZilla, enter the Host (Pure-FTPd server), Username and Password. Then click Quickconnect and your connection should be established


– Copy a file to your FTP account. I have copied a file called ‘submitform.php‘ to my ftp account


– Go to Ubuntu terminal and run the following command. This would list the file I just copied into my directory

ls /home/ftpusers/sysads/


Now you have successfully setup Pure-FTPd & Pureadmin on Ubuntu 13.10 using virtual accounts 🙂

comments powered by Disqus