转载本站文章请注明,转载自: 月影鹏鹏 [http://Jacky.Aiwaly.com]
本文链接: http://jk.aiwaly.com/wp/%e5%b8%b8%e7%94%a8%e7%9a%84vsftpd%e9%85%8d%e7%bd%ae.html
vsftpd是一个优秀的ftp服务器软件,下载量巨大的Linux Kernel的官方站点 http://kernel.org 就是用vsftpd来做ftp服务的。
下面是我常用的vsftpd的配置,开启了匿名ftp和本地用户的写权限:
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=002
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
dirmessage_enable=YES
xferlog_enable=NO
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem