Posted at October 23, 2015 at 8:26 am by InterServer Staff
On centos/RHEL based systems vsftpd is available. To install, become root – we will be using yum going forward. This process is meant to be done on a system with out a control panel (ie cpanel / directadmin) which already provide ftp.
yum -y install vsftpd
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
change anonymous_enable=YES to anonymous_enable=NO
to disable anonymous FTP
Confirm local_enable=YES is not commented out. If you see
Finally to prevent directory snooping add
Save and start vsftpd with
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 can skip to the end and leave a response. Pinging is currently not allowed.