Ignore a folder in maldet

maldet is malware scanner for linux. On a shared hosting server, maldet detected one cusomer files as malware, on checking i found it is false positive. It is just a log file written by the application. To avoid getting further email from this application, i added this folder to maldet ignore_paths.

To add a folder to ignore list, edit file

vi /usr/local/maldetect/ignore_paths

Add the folder you need to ignore to end of this file as a new line.

Example

root@server74 [~]# cat /usr/local/maldetect/ignore_paths
/home/welgreenkerala/public_html/login/
/usr/local/maldetect
/usr/local/sbin/maldet
/home/shopatke/public_html/application/logs/
root@server74 [~]# 

See maldet

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *