I have configured multiple virtual hosts in Apache. I am creating users with
useradd <username>. I want to assign the directory of the virtual host to a specific user in vsftpd. For example, when the user log in with an FTP client, the only access he need to have is to the folder where the content of their virtual host is locate; for example: the home directory for user john will be
/var/www/example.com/ and you will not have access to any other.