cronjob path for lynis and chkrootkit

Courtney72

Member
May 16, 2018
17
1
3
Parkersburg,WV
cPanel Access Level
Root Administrator
I have tried several path configs with no success for Chkrootkit and Lynis. They both run fine manually and I have followed the published cron path suggestions, but can't get the jobs to execute what I placed in crontab file.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hello,

This really is not enough information for us to know how to help you. The following goes over useful types of information to add in forums posts: Forums Guidelines and FAQ
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Well, I don't know what lynis is or what path it should use but that points to the lynis binary and chkrootkit looks correct but you can confirm by ensuring that is where the binary is located. Otherwise, you'd want to check the cron logs to see if there are errors when it runs /var/log/cron.log as well as the mail logs to identify if the mail is being rejected at /var/log/exim_mainlog

Also keep in mind that both of these are 3rd party Softwares an not something provided by cPanel & WHM.