/etc/cron.d/imscp rkhunter

  • why is the rkhunter cron done in this way:
    @weekly root /usr/bin/rkhunter --cronjob --createlogfile /var/log/rkhunter.log.root --display-logfile 1>/var/log/rkhunter.log 2>/dev/null


    why not just:
    @weekly root /usr/bin/rkhunter --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1

  • Hello ;


    It's done this way because we encountered some permissions issue with the file created.


    Thanks for using i-MSCP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • org. ???


    BTW: open a ticket if needed. I'll fix.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().

  • I manually deactivate rkhunter in imscp cron. I use the default cronjob placed at /etc/cron.daily/rkhunter which sends me a mail on errors/warnings.
    This cronjob has to be activated in /etc/default/rkhunter


    ...and the logfile is displayed for me in imscp...

  • Hello ;


    Ticket created: http://trac.i-mscp.net/ticket/636


    Thanks you for using i-MSCP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Already fixed. Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206