Configuring audit of Vsftpd events.

To configure event audit in the Vsftpd system:

  1. Create a backup copy of the /etc/vsftpd/vsftpd.conf configuration file.
  2. Edit the vsftpd.conf file to add or change the following settings:

    xferlog_enable=YES

    xferlog_std_format=NO

    xferlog_file=/var/log/vsftpd.log

    log_ftp_protocol=YES

  3. Save changes and restart the service by running the following command:

    sudo systemctl restart vsftpd

Audit of Vsftpd events is configured.

Vsftpd does not perform log rotation. To reduce the risk of disk space filling up, we recommend using an external log rotation tool such as Logrotate or Logadm.

Page top