How to Setup and Configure vsftpd on CentOS 6

How to Setup and Configure vsftpd on CentOS 6

 

Step One – Update System And Instal vsftpd

# yum update
# yum install vsftpd

 

Step Two – Configure vsftpd

Open configuration file and cahnge default settings:

# vi /etc/vsftpd/vsftpd.conf

anonymous_enable=NO    #Disallow anonymous FTP
local_enable=YES       #allow local users to log in
chroot_local_user=YES  #local users will be denied access to any other part of the server

 

Restart vsftpd service:

# service vsftpd restart

 

and then set start on boot:

# chkconfig vsftpd on

 

Also you may need to disable SELinux

 

arstech

Leave a Reply

Your email address will not be published. Required fields are marked *