2011년 8월 2일 화요일

vsftp 의 기본 root 리렉토리 지정 ( root 의 경우 )

vi /etc/vsftpd/vsftpd.conf 파일에서 anon_root = /var/spool/asterisk/monitor

다른 계정들은 생성하면 홈리렉토리는 /home/생성계정명 으로 생성 된다


## allow normal access when iptables is on

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT

/etc/init.d/iptables save
/etc/init.d/iptables restart

댓글 없음: