계정 추가
# useradd [계정이름]

비밀번호 설정
# passwd [계정이름]

계정 삭제
# userdel [계정이름]

계정 관련 데이터 삭제
# userdel -r [계정이름]

기본적으로 vsftpd
service에 vsftpd가 실행되고 있는지 확인.
아니면 실행해줄것. service vsftpd start

ftp 포트 (21)를 열어줘야 함.

Configure Iptables To Protect The FTP Server

Open file /etc/sysconfig/iptables, enter:
# vi /etc/sysconfig/iptables
Add the following lines, ensuring that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT:

-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT

Save and close the file. Restart firewall:
# service iptables restart


(출처 : Red Hat / CentOS VSFTPD FTP Server Configuration)
Anonymous 접속을 허락하지 않는다면,

/etc/vsftpd/vsftpd.conf

anonymous_enable=NO

http://www.appleforum.com/mac-column/60532-애플은-어떻게-돌아가고-있는가.html

+ Recent posts