Community Forums
Connect with us on LinkedIn
Community Notice
Closed Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    49

    Default security risks with cron jobs

    Hello,

    I need to disable the cron jobs for security reasons because any user can run shell commands even if they dont have shell access.

    Anyway to disable it or remove it from cpanel?

  2. #2
    OCX
    OCX is offline
    Member
    Join Date
    Sep 2003
    Posts
    246

    Default

    Quote Originally Posted by mher
    Hello,

    I need to disable the cron jobs for security reasons because any user can run shell commands even if they dont have shell access.

    Anyway to disable it or remove it from cpanel?

    log in to WHM and go to Feature manager
    then Edit a Feature List

    remove cron check mark
    then save

  3. #3
    Member
    Join Date
    Jun 2004
    Posts
    49

    Default

    A reseller can easily change feature manger to create accounts with cron jobs

    a better way is to creat a file /etc/cron.allow
    anyone not listed in that file won't be able to use cron

  4. #4
    Member
    Join Date
    Dec 2005
    Posts
    8

    Default

    Quote Originally Posted by mher
    A reseller can easily change feature manger to create accounts with cron jobs

    a better way is to creat a file /etc/cron.allow
    anyone not listed in that file won't be able to use cron

    Can you paste the content of that file ?

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Please don't cross-post in the forums.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Mod security effecting cron jobs
    By Frano8 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-06-2009, 05:27 AM
  2. clustering security risks
    By Jeff-C in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-19-2006, 01:16 PM
  3. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 08:16 PM
  4. Is enabling cron jobs for Cpanel a security risk?
    By silversurfer in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-29-2003, 01:58 PM
  5. Shared Scripts... Security Risks?
    By Miso in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-23-2003, 02:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube