Cron email notification:
> /bin/sh: /usr/bin/rkhunter: No such file or directory *SNIP* What tells which rkhunter ls -l $(which rkhunter) Viele Gruesse! Helmut ---------------------------------------------------------------------------- When I enter "which rkhunter" I get /usr/local/bin/rkhunter The ls -l from /usr/local/bin/ is: [r...@ip-208-109-24-147 bin]# ls -l total 420 -rwxr-x--- 1 root root 425606 May 27 08:12 rkhunter It appears that for some reason Plesk (cron job) inserts a /bin/sh: prior to the "rkhunter" command. When I list the command statement as: /usr/local/bin/rkhunter I get back a Cron error in email that - /bin/sh: /usr/local/bin/rkhunter was not found. When I list the command statement as: rkhunter I get back a Cron error in email that - /bin/sh: rkhunter was not found. _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 11:26:00 ------------------------------------------------------------------------------ _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users