Install, configure & use Pure-FTPD

To create a secure FTP server, the Pure-FTPD daemon has the particularity of enabling virtual account management. Users do not need a Unix account on the host to connect.
Pure-FTPD is easy to configure, customizable and manages secure SSH connections.

Installation

To install the pure-ftpd, we use this command :


Configuration

To configure PureFTPD, the creation of a symbolic link in the /etc/pure-ftpd/auth/ folder is necessary.
We create a symbolic link to the virtual database :


Group & User

For the creation of a virtual user we will create a specific UID and GID for setting up the server.
The folders that create this tutorial remain as an example because you can easily map a virtual user to an existing UID and GID.
To create a user group, type the command:

Il faudra ensuite créer l’utilisateur et le groupe avec lequel le serveur sera lancé :


FTP’s user

Now, we create the directory to which the user will be linked to his connection.
For example, the jaguar user will be connected to the /home/ftp/jaguar directory.
Directory creation is not required because we can map the account to an already existing directory.

The following command is intended to create the jaguar</ strong> user linked to the ftpuser / ftpgroup group and create the pureftpd.passwd file:

The following command delete a user :

When all of your actions are complete, the following command will register your users and their associated password in the pureftpd.pdb file that serves as a given database :

Next, we relaunch pure-ftpd service to take into account your actions :


Commands

Here are some useful commands for using pure-ftpd </ strong>:

list the users created and their associated directories.

allow to change the password.

return user information.

block/limit users in their directories.


Install, configure & use Pure-FTPD
Vote