ftp Purpose

Unless the ftp users are limited to their home directories, they will able to access all files & folders on the server .

How to

Below you may see how this can done to 3 of the ftp servers used in common.

Pro-ftpd

vsftpd

pure-ftpd

Pure-ftpd

viĀ  /etc/pure-ftpd.conf

And change the following line

ChrootEveryone=YES

pro-ftpd

vi /etc/proftpd.conf

DefaultRoot ~

Vsftpd

vi /etc/vsftpd.conf

chroot_local_user=YES