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!

Cron-jon security question

Discussion in 'Security' started by jestin_virtual, Oct 30, 2009.

  1. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    56
    Hello !

    We don`t want allow our customers to use "Cron-Job" So we disabled the cron from "Feature Manager"

    i just needed to run the cron for my own website , that`s why i have enabled it and then i have confronted the below error when i wanted set the cron


    /usr/bin/crontab permissions are wrong (6755). Please set to 4755.

    i know that the problem could be solved by changing the permition :
    chmod 4755 /usr/bin/crontab

    But i want to know if there is any security risk
    , we don`t want allow anyone else to use cron , i just enabled it temporary ( from Feature Manager ) and then i will disabled when i set my own cron ,


    Please Help me in this regards

    Thank You
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    When hosting in a shared environment there will always be some level of risk. I would correct the permissions as suggested, then consider restricting users access to the feature as you have been doing via the Feature Manager.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    FYI: You don't need to enable "cronjobs" to setup a cronjob from the shell

    For security, I'd go ahead and leave cronjobs off and just manually setup the cronjob you need for yourself from SSH.
     
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