Post Reply  Post Thread 
1 Votes - 5 Average   :: Live Demo - ispCP Omega RC5
Author Message
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
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



In Holiday´s this week :-)

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
Member
****
Dev Team

Posts: 660
Group: Dev Team
Joined: Feb 2007
Status: Offline
Reputation: 9
Post: #172
RE: :: Live Demo - ispCP Omega RC3

could you post the default cron entry plz? I dont have rkhunter installed atm Tongue


Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
10-28-2007 06:46 AM
Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
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



In Holiday´s this week :-)
10-28-2007 06:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos
Member
****
Dev Team

Posts: 660
Group: Dev Team
Joined: Feb 2007
Status: Offline
Reputation: 9
Post: #174
RE: :: Live Demo - ispCP Omega RC3

I meant that Wink


Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
10-28-2007 06:59 AM
Find all posts by this user Quote this message in a reply
raphael
Member
****
Dev Team

Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
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


YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more

Quote:
This is Linux land. In silent nights you can hear the Windows machines rebooting.

If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price

10-28-2007 10:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
Post: #176
RE: :: Live Demo - ispCP Omega RC3

I changed it! We will see what happend tomorrow Wink

Greez BeNe



In Holiday´s this week :-)
10-28-2007 09:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,532
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #177
RE: :: Live Demo - ispCP Omega RC3

I changed it too.....Maybe it works..... Smile


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
10-29-2007 01:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
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



In Holiday´s this week :-)
10-29-2007 07:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #179
RE: :: Live Demo - ispCP Omega RC3

apt-get install chkrootkit

# which chkrootkit
/usr/sbin/chkrootkit

/J


2008-03-16 ispCP RC4 released!!!
10-29-2007 08:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
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



In Holiday´s this week :-)
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  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |