匿名vsftpd

anonymous_enable=NO 修改後 anonymous_enable=YESsession

#write_enable=YES 修改後 write_enable=YESspa

#local_umask=022 修改後 local_umask=022ssl

#anon_upload_enable=YES 修改後 anon_upload_enable=YESci

#anon_mkdir_write_enable=YES 修改後 anon_mkdir_write_enable=YESit

添加 anon_other_write_enable=YES io

添加 anon_world_readable_only=NOemail

dirmessage_enable=YESftp

#use_localtime=YESfile

xferlog_enable=YESservice

connect_from_port_20=YES

#chown_uploads=YES
#chown_username=whoever

xferlog_file=/var/log/vsftpd.log

#idle_session_timeout=600

#data_connection_timeout=120

#nopriv_user=ftpsecure

#ascii_upload_enable=YES
#ascii_download_enable=YES

ftpd_banner=Welcome to blah FTP service.

#deny_email_enable=YES

#banned_email_file=/etc/vsftpd.banned_emails

#chroot_local_user=YES

#chroot_local_user=YES
#chroot_list_enable=YES

#chroot_list_file=/etc/vsftpd.chroot_list

#ls_recurse_enable=YES

secure_chroot_dir=/var/run/vsftpd/empty

pam_service_name=vsftpd

rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem

rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

相關文章
相關標籤/搜索