Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2006, 03:42 PM
DWHS.net's Avatar
Registered User
 
Join Date: Jul 2002
Location: LA
Posts: 1,201
DWHS.net is on a distinguished road
So i would like to disable cron from users and make them have to send the cron to us.

Too many bad crons are happening with word press type scripts everywhere.

Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

I know it will be allot of work but it's better then our server getting wrecked.
__________________
DWHS Inc. - dwhs.net
Web Hosting | Business Favs | Web Hosting Times
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-08-2006, 04:45 PM
Registered User
 
Join Date: Mar 2002
Posts: 174
jsnape
Quote:
Originally Posted by DWHS.net View Post
Too many bad crons are happening with word press type scripts everywhere.

Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

I know it will be allot of work but it's better then our server getting wrecked.
Its not hard, just put the word ALL in /etc/cron.deny and create a file called cron.allow and put users you want to be allowed to run cron jobs. Or just create a cron.allow file and all others will automatically be denied.

Then maybe remove or edit the cpanel theme page for cron jobs telling people it wont work until they contact you to have cron activated.

Last edited by jsnape; 12-08-2006 at 04:50 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-08-2006, 06:33 PM
Registered User
 
Join Date: Mar 2006
Posts: 1,215
jayh38 is on a distinguished road
Quote:
Originally Posted by DWHS.net View Post
Too many bad crons are happening with word press type scripts everywhere.

Any ideas how to remove all the cpanel based user cron jobs and how to disable users from being able to add them. And a way for us to still add them manually as the server admin?

I know it will be allot of work but it's better then our server getting wrecked.

In whm > packages > feature manager, edit the "disabled" features set and uncheck
"cron tab"

That will be removed from everyones cpanel. While you are in there, you may want
to do the same for their ssh.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-09-2006, 03:44 PM
DWHS.net's Avatar
Registered User
 
Join Date: Jul 2002
Location: LA
Posts: 1,201
DWHS.net is on a distinguished road
perfect, thanks very much
__________________
DWHS Inc. - dwhs.net
Web Hosting | Business Favs | Web Hosting Times
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc