Current time: 11-22-2024, 09:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
:: Live Demo - ispCP Omega RC5
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #171
RE: :: Live Demo - ispCP Omega RC3
Updated to r888

Quote:btw, what have you found out about
Quote:
/var/log/chkrootkit.log doesn't exist or is empty
When i run the cronjob manuel it works. But every day the files is empty again. Rolleyes
Maybe it has something todo with the default chrootkit cronjob in /etc/cron.daily/

Greez BeNe
(This post was last modified: 10-28-2007 06:04 AM by BeNe.)
10-28-2007 05:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #172
RE: :: Live Demo - ispCP Omega RC3
could you post the default cron entry plz? I dont have rkhunter installed atm Tongue
10-28-2007 06:46 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #173
RE: :: Live Demo - ispCP Omega RC3
Quote:I dont have rkhunter installed atm
The Problem is the chkrootkit log and not rkhunter Wink

Here it is /etc/cron.daily/chkrootkit:
Code:
#!/bin/sh -e

CHKROOTKIT=/usr/sbin/chkrootkit
CF=/etc/chkrootkit.conf
LOG_DIR=/var/cache/chkrootkit

if [ ! -x $CHKROOTKIT ]; then
  exit 0
fi

if [ -f $CF ]; then
    . $CF
fi

if [ "$RUN_DAILY" = "true" ]; then
    if [ "$DIFF_MODE" = "true" ]; then
        $CHKROOTKIT $RUN_DAILY_OPTS > $LOG_DIR/log.new 2>&1
        if [ ! -f $LOG_DIR/log.old ] \
           || ! diff -q $LOG_DIR/log.old $LOG_DIR/log.new > /dev/null 2>&1; then
            cat $LOG_DIR/log.new
        fi
        mv $LOG_DIR/log.new $LOG_DIR/log.old
    else
        $CHKROOTKIT $RUN_DAILY_OPTS
    fi
fi

Greez BeNe
10-28-2007 06:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #174
RE: :: Live Demo - ispCP Omega RC3
I meant that Wink
10-28-2007 06:59 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #175
RE: :: Live Demo - ispCP Omega RC3
Quote:Maybe it has something todo with the default chrootkit cronjob in /etc/cron.daily/
hmm, no, it isn't related (different paths are used).

what about replacing the line in cron.d/ispcp which looks like:
Quote:0 0,12 * * * root chkrootkit 2>&1 > /var/log/chkrootkit.log
with
Quote:0 0,12 * * * root chkrootkit > /var/log/chkrootkit.log 2>&1
10-28-2007 10:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #176
RE: :: Live Demo - ispCP Omega RC3
I changed it! We will see what happend tomorrow Wink

Greez BeNe
10-28-2007 09:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #177
RE: :: Live Demo - ispCP Omega RC3
I changed it too.....Maybe it works..... Smile
10-29-2007 01:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #178
RE: :: Live Demo - ispCP Omega RC3
No, it does not work!
Code:
/var/log/chkrootkit.log:
      
/bin/sh: chkrootkit: command not found

Greez BeNe
10-29-2007 07:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #179
RE: :: Live Demo - ispCP Omega RC3
apt-get install chkrootkit

# which chkrootkit
/usr/sbin/chkrootkit

/J
10-29-2007 08:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #180
RE: :: Live Demo - ispCP Omega RC3
chkrootkit is already installed - and it works if i do it manually Wink
Code:
# which chkrootkit
/usr/sbin/chkrootkit
Correct, i have this output!

I does only not work with the cron...

Greez BeNe
10-29-2007 08:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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