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!

Preventing Specific User to Run CRON

Discussion in 'General Discussion' started by mohit, Aug 23, 2005.

  1. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Sticky On Internet
    hi,
    any ideas, how do i prevent a specific user to be able to use cron, he sends a lots of mail using a php script to his users who haven't logged into his matrimony site.

    Also is there any way to prevent his mysql scripts cause high memory loads ?

    Thanx in advance.
    mohit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    You can remove crontab and mysql from the feature list assigned to this account.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Blocking crontab use depends on your OS as different ones use different cron daemons. On most Linux distributions vixie cron is used and you can use /etc/cron.deny and /etc/cron.allow files (man crontab for details).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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