Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Vsftpd record deletion log

Shulou Source: shulou.com Published: 2022-06-01 03:01:04 10月04日 Update

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

Tags: Files projects project groups accounts logs success two people functions actions only solutions servers directories solutions services login Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Shulou Information Linux Xiaomi