启用 vsftpd 日志记录.note
这里不赘述 vsftpd用户登陆的配置,仅展示启用日志记录的配置
一、配置 vsftpd:

xferlog_enable 默认启用
xferlog_file 在vsftpd.conf 文件中默认有(但是被注释了)
剩下的在 man vsftpd.conf 中都能查询到
touch vsftpd.log
touch ftp.log
vim /etc/vsftpd.conf


systemctl restart vsftpd
2、测试:
·客户端登陆测试:
一次成功一次失败即可

查看日志:
