Install VSFTPD (very secure FTP daemon) on CentOS

Posted on October 23rd, 2015

How to Install VSFTPD (very secure FTP daemon) on CentOS Server

FTP daemonOn centos/RHEL based systems vsftpd (very secure FTP daemon) is available. To install, become root – we will be using yum going forward. This process is meant to be done on a system without a control panel (ie cpanel / directadmin) which already provide ftp.

install vsftpd
yum -y install vsftpd

edit /etc/vsftpd/vsftpd.conf
I prefer nano, other editors are vi

nano -w /etc/vsftpd/vsftpd.conf

Note: its possible the config file is /etc/vsftpd.conf on older systems – normally it is not

normal setup:
change anonymous_enable=YES to anonymous_enable=NO

to disable anonymous FTP

Confirm local_enable=YES is not commented out. If you see
change to

Finally to prevent directory snooping add


Save and start vsftpd with

/etc/init.d/vsftpd start

so vsftpd starts on boot run

chkconfig vsftpd on

The standard users in /etc/passwd are able to login to FTP, with a valid shell from /etc/shells

You can use adduser to add a new user


You may also refer our following tutorial to know more about ftp accounts: Create and Manage FTP Accounts in cPanel


If you need any further assistance please contact our support department.

Leave a Reply