Current time: 11-01-2024, 09:55 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
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: /var/log/rkhunter.log existiert nicht oder ist leer
Nur für's Protokoll:
Dies betrifft rkhunter >= 1.3.0
(Debian: ab Lenny)

Auszug aus Changelog, 1.3.0, changes:
Quote: - The log file is now created by default, it can be disabled in the config
file or by using the --nolog command line option. The log file is created
with permissions 600.

im Code (v1.3.4) steht dann auch das drin:
Code:
if [ $NOLOG -eq 0 ]; then
if [ $APPEND_LOG -eq 0 ]; then
  mv -f ${RKHLOGFILE} ${RKHLOGFILE}.old >/dev/null 2>&1
  touch ${RKHLOGFILE} >/dev/null 2>&1
  chmod 600 ${RKHLOGFILE} >/dev/null 2>&1
else
  echo "" >>${RKHLOGFILE}
  echo "" >>${RKHLOGFILE}
fi
fi

/J
06-10-2009 06:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: /var/log/rkhunter.log existiert nicht oder ist leer - joximu - 06-10-2009 06:38 PM

Forum Jump:


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