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.

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:
    16
    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
     
  2. nickb

    nickb Well-Known Member

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

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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).
     
Loading...

Share This Page