The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/bin/sh: /root/chkrootkit-0.46a/chkrootkit: Permission denied

Discussion in 'General Discussion' started by jsimon, Sep 27, 2006.

  1. jsimon

    jsimon Member

    Joined:
    Jun 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I would have posted this in a thread titled annoyances but as it does not exist I posted here.

    Every day I receive Emails from the Cpanel Web server sent to root@###

    HTML:
    Subject: Cron <###@###> /root/chkrootkit-0.46a/chkrootkit
    Body: /bin/sh: /root/chkrootkit-0.46a/chkrootkit: Permission denied
    
    After seeing this message every day I wonder if there is something I have to do in order to make chkrootkit work or should I just remove it from cron?
     
  2. biggdogg285

    biggdogg285 Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Just give chkrootkit execute permissions, or remove it from the cron altogether...
    Problem solved!
     
  3. dragonbooster

    dragonbooster Active Member

    Joined:
    Oct 4, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hello

    Try to set the following cron for chkrootkit

    #!/bin/bash
    cd /root/chkrootkit-0.46a
    ./chkrootkit -q | mail -s "chkrootkit output" root
     
Loading...

Share This Page