Pages

Tuesday 6 September 2011

active mode FTP configuration


useradd -d /var/www/html/technology-on -s /bin/bash -g ftp technology-on
 passwd technology-on
 h
 chgrp ftp technology-on/
 chmod 3755 -R technology-on/
 setfacl -R -m u:technology-on:rwx technology-on/
 ls -ld technology-on/
getfacl technology-on/
 yum install vsftpd*
 vim /etc/vsftpd/vsftpd.conf

anonymous_enable=NO
chroot_local_user=YES

 service vsftpd restart
 chkconfig vsftpd on

 vim /etc/sysconfig/iptables-config
 IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp"


 service iptables restart

No comments:

Post a Comment

Twitter Bird Gadget