simple-vsftpd

vsftpd安装

1
2
3
4
5
6
shell> yum install vsftpd -y
shell> chkconfig vsftpd on
shell> vi /etc/vsftpd/vsftpd.conf # 修改配置如下
shell> useradd -d /home/ftp -s /sbin/nologin ftpuser
shell> passwd ftpuser # password
shell> service vsftpd restart

vsftpd.conf

1
2
chroot_local_user=YES
anonymous_enable=NO