Current time: 11-01-2024, 09:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/var/log/rkhunter.log existiert nicht oder ist leer
Author Message
Nuxwin
Unregistered

 
Post: #21
RE: /var/log/rkhunter.log existiert nicht oder ist leer
(11-17-2009 02:48 AM)Rafioso Wrote:  Was soll ich da schauen? Standardmäßig war der Cron ja in der Cron-Datei eingefügt. Diesen habe ich dann, wie in dem Thread hier steht, bearbeitet, hat aber nichts gebracht (Post #14).


if you use Debian, after following the indication of post #14 you should edit your /etc/default/rkhunter file as this :

Code:
# Defaults for rkhunter cron jobs
# sourced by /etc/cron.*/rkhunter

#
# This is a POSIX shell fragment
#

# Set this to the email address where reports and run output should be sent
REPORT_EMAIL="root"

# Set this to yes to enable rkhunter weekly database updates
CRON_DB_UPDATE="yes"

# Set this to yes to enable reports of weekly database updates
DB_UPDATE_EMAIL="no"

# Set this to yes to enable rkhunter daily runs
CRON_DAILY_RUN="no"

# Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable).
NICE="0"

Here, you must change the CRON_DAILY_RUN value to "no".

after, remove the old files related to rkhunter.

Code:
# rm /var/log/rkhunter.*

After, that, you can try to run rkhunter manually as cron task

Code:
# rkhunter --cronjob --createlogfile \
/var/log/rkhunter.log.root --display-logfile 1> /var/log/rkhunter.log 2>/dev/null

Edit: Fixed in the latest revision.
11-17-2009 03:17 AM
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: /var/log/rkhunter.log existiert nicht oder ist leer - Nuxwin - 11-17-2009 03:17 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)