Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/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:
    151
    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:
    73
    Likes Received:
    0
    Trophy Points:
    156
    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:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice