install ftp

 sudo yum install vsftpd


sudo systemctl start vsftpd

sudo systemctl enable vsftpd

sudo cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.default


vi /etc/vsftpd/vsftpd.conf


anonymous_enable=NO

local_enable=YES

write_enable=YES

chroot_local_user=YES

allow_writeable_chroot=YES

userlist_enable=YES

userlist_file=/etc/vsftpd/user_list

userlist_deny=YES


sudo systemctl restart vsftpd



How To Enable Root Login in FTP Server


/etc/vsftpd


comment out or remove root user form both these files


 systemctl restart vsftpd

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation