File Transfer Protocol is a way of transferring files over the Internet from one computer to another. You can connect to a FTP server, browse directories and transfer files. Red Hat Linux comes with different or updated version of FTP daemon with each release. Newer versions of Red Hat no longer support the wu-ftpd, instead vsftpd had been used.
if you would like to make an ftp user on your server and to limit a user to having access to only their home dir, and not being able to see anything you can follow steps below.
- Uncommented line “chroot_list_enable=YES” in vsftpd.conf.
- Uncommented line “chroot_list_file=/etc/vsftpd.chroot_list” in vsftpd.conf.
- Make a file called ‘/etc/vsftpd.chroot_list”, added userid to this file.
Example:
username1
username2
..
..
be sure to restart the vsftpd service.
Happy nice traying.


