######### FTP Server Setup and configuration #########
#yum install vsftpd
Note: Make sure following settings in vsftpd.conf file.
#vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
download_enable=YES
dirlist_enable=YES
userlist_deny=NO
# /etc/init.d/vsftpd restart
#iptables -I RH-Firewall-1-INPUT 1 -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT
# /etc/init.d/iptables save
#/etc/init.d/iptables restart
Note: To add new user in ftp follow the steps
# useradd -d /var/ftp/testuser -s /sbin/nologin testuser
Note: Where /var/ftp/testuser is users home directory.
Note: add new user in user_list file
#vi /etc/vsftpd/user_list
testuser
# /etc/init.d/vsftpd restart
#yum install vsftpd
Note: Make sure following settings in vsftpd.conf file.
#vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
download_enable=YES
dirlist_enable=YES
userlist_deny=NO
# /etc/init.d/vsftpd restart
#iptables -I RH-Firewall-1-INPUT 1 -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT
# /etc/init.d/iptables save
#/etc/init.d/iptables restart
Note: To add new user in ftp follow the steps
# useradd -d /var/ftp/testuser -s /sbin/nologin testuser
Note: Where /var/ftp/testuser is users home directory.
Note: add new user in user_list file
#vi /etc/vsftpd/user_list
testuser
# /etc/init.d/vsftpd restart
nice blog!!!!
ReplyDelete