Página Inicial > linux > VSFTPd Virtual Users

VSFTPd Virtual Users

This documenation was created from CentOS using the YUM package manager to keep things simple. Before you dig to deep you need the FTP Server to be installed. You can either install the FTP Server as you install CentOS or YUM group install it after the fact.

If you don’t have VSFTPd installed currently on your CentOS machine.

Needed for creating the user database later.

PAM configuration which configures the usage of the virual database we will be creating from a basic text file below.

In same cases the path of pam_userdb.so it’s different.


Add the user the virtual FTP server will use to log in all users.

VSFTPd configuration example used for this setup.

Create your text absed user and passwor

Create your text absed user and password list.

Insert your usernames and passwords

Create your user database from the entries located in the users file created above.

Create your user’s based FTP directory.


Fixes: not being able to write once logged into FTP

Fixes: “500 OOPS: cannot change directory”. If SELinux is not enabled or enforcing then this can be ignored.

Fixes: “425 Failed to establish connection” or “Client Error: Failed to retrieve directory listing”. If you have not run some sort of automated firewall utility you may need to add the module ip_conntrack_ftp to your iptables configuration. Just make sure your line includes ip_conntrack_ftp as stated below. If you are not running an iptables based firewall then this can be ignored.

And do this:

Source : VSFTPd Virtual Users

Tags: ,
  1. Ainda sem nenhum comentário.
  1. Ainda sem nenhum trackback.