Skip to main content

cronjob path for lynis and chkrootkit

Comments

4 comments

  • cPanelLauren
    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:
    0
  • Courtney72
    This is my cron : 0 4 * * * /usr/local/sbin/chkrootkit/chkrootkit 2>&1 | mail -s "Chkrootkit Reports of My Server" user@gmail.com 0 5 * * * /usr/local/bin/lynis --quick 2>&1 | mail -s "Lynis Reports of My Server" user@gmail.com are the path's correct??
    0
  • Courtney72
    Can someone help me??...I have tried everything with no luck...
    0
  • cPanelLauren
    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.
    0

Please sign in to leave a comment.