Wednesday, March 17, 2010

A Simple ftp server with Fedora 10

as root yum install vsftpd

edit vsftpd configuration file:
as root vi /etc/vsftpd/vsftpd.conf

uncomment anonymous_enable=NO to avoid anonymous connection

add chroot_local_user=YES to limit users to only their home directory

if you want to change the ftp default foder simply add this line:

finally start the service:
as root /etc/init.d/vsftpd start