How To Install And Configure VSFTPD?
VSFTPD is a Very Secure File Transfer Protocol Daemon and is one of the most secure FTP available. Install And Configure VSFTPD is used as the default FTP server in Ubuntu, CentOS, Fedora, and RHEL Linux distros etc.
It is authorized under the GNU General Public License and is secure, fast and stable.
sudo apt-get install vsftpd
- Configuration – To begin with the install And Configure VSFTPD, open the vsftpd.conf file by typing
- Disable anonymous login and allow local users to write by changing the config file
- The following lines allow local users to log in and allow the users to write to the directory
Chroot users –There are multiple options available for chrooting users. Search “chroot_local_users” and select one of these as per your needs:
The above will chroot all the users.
To allow a list of users with chroot, you will need to create a file /etc/vsftpd.chroot_list with a list of usernames that you want to chroot.
- Allow and Deny users from Logging – To deny particular users from login, add the following lines to the file. Create a file called install And Configure VSFTPD.denied_users and add the denied users to it by adding one user per line.
- Create a file vsftpd.allowed_users and add all the usernames, one per line that needs to be allowed.
- To apply the above settings just close your config file and type:
sudo /etc/init.d/vsftpd restart
At Velan, our server support engineers can help you set up your FTP server. For details, please visit Outsourced Managed IT Services.