我只能說(shuō)vsftpd玩的我腦殼疼
一次配置永久使用
但是總有需要再配置的時(shí)候,受不了一點(diǎn)
這次將配置匿名用戶的方式記錄一下
vsftp.user_list
uftp
anonymous
/etc/vsftpd.conf
userlist_deny=no
userlist_enable=no
seccomp_sandbox=no
listen=YES
listen_ipv6=NO
anonymous_enable=YES
local_enable=NO
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
connect_from_port_20=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
ssl_enable=NO
anon_root=/var/ftp
anon_world_readable_only=YES
no_anon_password=YES
ftp_username=ftp
tcp_wrappers=YES
allow_writeable_chroot=YES
pasv_min_port=60000
pasv_max_port=60100put
如果你要修改,建議備份一下先 cp /etc/vsftpd.conf /etc/vsftpd.conf.bk
設(shè)置目錄權(quán)限文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-706792.html
chmod 755 /var/ftp
重新加載文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-706792.html
systemctl restart vsftpd.service
到了這里,關(guān)于vsftpd設(shè)置匿名用戶的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!