Vsftpd record deletion log
Today, a project team shared a ftp account and came to me to say that several files uploaded a few days ago were found missing. Let me find out who deleted them. I logged in to the server and found that it was impossible for us to delete the directory. There are only two possibilities: 1. The file was not uploaded successfully; 2. The file was deleted by other people in this project team.
Solution:
1. Everyone in this project team sets up a ftp account.
2. Enable the log function (record delete, download, delete all actions)
Vsftpd_log_file=/var/log/vsftpd.log
Log_ftp_protocol=yes
Xferlog_std_format=no
Xferlog_enable=yes
Reverse_lookup_enable=NO