Guys, wanna the easier way?
Here it is!
Choose the long random password and execute this at shell under the root:
Code:
replace "\$dbpassword=\"\"" "\$dbpassword=\"tMe2vOQ7AwQ2\"" -- /etc/cron.hourly/modsecparse.pl
Then execute:
And enter at the prompt:
Code:
SET PASSWORD FOR "modsec" = PASSWORD('tMe2vOQ7AwQ2');
\q
Verify (this should no brings any errors):
Code:
/etc/cron.hourly/modsecparse.pl
In this example I assumed you are using the password
tMe2vOQ7AwQ2
We did fixed every server of us with this simple hint
