Install vsftpd package :

#  yum  install  vsftpd*

Now, edit vsftpd.conf :

#  vi  /etc/vsftpd/vsftpd.conf

Edit the settings according to your need, commented descriptions are already provided.

#  service  vsftpd  start

If you want to prevent any user from accessing ftp server then put the username in user_list file :

#  vi  /etc/vsftpd/user_list

Add the username.

#  service  vsftpd  restart

To permit the user, remove the username from the file and restart the service.

Advertisements