FTP setup commands

Setup up FTP
Author: Owen
Added: Sunday, 08 Dec, 2013
Category: Terminal

Code

FTP SETUP COMMANDS
service iptables stop
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
service iptables start
vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
service vsftpd restart
useradd username
passwd chosenpassword
usermod -d / username

Comments