
as root
yum install vsftpdedit vsftpd configuration file:
as root
vi /etc/vsftpd/vsftpd.conf
uncomment
anonymous_enable=NO to avoid anonymous connectionadd
chroot_local_user=YES to limit users to only their home directoryif you want to change the ftp default foder simply add this line:
local_root=/<ftp_folder>finally start the service:
as root
/etc/init.d/vsftpd start
No comments:
Post a Comment