Simple Regex not working for /etc/csf/csf.pignore
Posted: 30 Oct 2018, 09:18
Hi, I am trying to exclude a few process in the /etc/csf/csf.pignore script with some simple regex rules, but I am still getting alerts. The rules I am trying are;
However, if I enter these each manually as follows, they do work.
Can anyone point me as to what I am doing wrong?
Thanks,
Code: Select all
pexe:/opt/cpanel/ea-php*/root/usr/sbin/php-fpm
pexe:/opt/cpanel/ea-php*/root/usr/bin/php-cgi
Code: Select all
#exe:/opt/cpanel/ea-php54/root/usr/bin/php-cgi
#exe:/opt/cpanel/ea-php70/root/usr/bin/php-cgi
#exe:/opt/cpanel/ea-php71/root/usr/bin/php-cgi
#exe:/opt/cpanel/ea-php72/root/usr/bin/php-cgi
#
#exe:/opt/cpanel/ea-php71/root/usr/sbin/php-fpm
#exe:/opt/cpanel/ea-php72/root/usr/sbin/php-fpm
Thanks,