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.

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:
    6
    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,557
    Likes Received:
    7
    Trophy Points:
    38
    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.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    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