/bin/sh: /root/chkrootkit-0.46a/chkrootkit: Permission denied

jsimon

Member
Jun 1, 2005
6
0
151
I would have posted this in a thread titled annoyances but as it does not exist I posted here.

Every day I receive Emails from the Cpanel Web server sent to [email protected]###

HTML:
Subject: Cron <###@###> /root/chkrootkit-0.46a/chkrootkit
Body: /bin/sh: /root/chkrootkit-0.46a/chkrootkit: Permission denied
After seeing this message every day I wonder if there is something I have to do in order to make chkrootkit work or should I just remove it from cron?
 

dragonbooster

Active Member
Oct 4, 2006
34
0
156
Hello

Try to set the following cron for chkrootkit

#!/bin/bash
cd /root/chkrootkit-0.46a
./chkrootkit -q | mail -s "chkrootkit output" root