LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-22-2006, 06:05 AM   #1
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
disable crond, atd


How can one disable crond and atd from being brought up on startup ?
 
Old 01-22-2006, 07:15 AM   #2
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
I imagine you could comment out the lines
Code:
# Start crond (Dillon's crond):
# If you want cron to actually log activity to /var/log/cron, then change
# -l10 to -l8 to increase the logging level.
if [ -x /usr/sbin/crond ]; then
  /usr/sbin/crond -l10 >>/var/log/cron 2>&1
fi

# Start atd (manages jobs scheduled with 'at'):
if [ -x /usr/sbin/atd ]; then
  /usr/sbin/atd -b 15 -l 1
fi
in /etc/rd.c/rc.M

OR

su -c "chmod -x /usr/sbin/atd"
su -c "chmod -x /usr/sbin/crond"

Last edited by truthfatal; 01-22-2006 at 07:18 AM.
 
Old 01-22-2006, 01:23 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Are there problems being caused by what cron is running that we might be able to help with?

Cron runs system processes for things like log rotation, locate database updates and kmod so it's worth keeping if it's running properly. I also have mine running general checks (tripwire, rootkit checks, backups, log parsers, downloading ISP mail with fetchmail, etc.).
 
Old 01-22-2006, 02:56 PM   #4
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
*uh .. duh* .. of course .. chmod -x on the binary .. been a gentoo user for too long.

gilead: um .. well .. I do those manually every once in a while when I feel necessery ..

I just wanted them disabled.

I'm a resource freak [although I might have no reason to be.. .. but I suppose minimalistic ..*everything* can be a good security thing]
 
Old 01-22-2006, 03:30 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Each to his/her own

Keep an eye on the free space on /var if you're not rotating the logs though
 
Old 01-23-2006, 08:06 AM   #6
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
eye-eye captain !

thanks !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATD daemon pete1234 Linux - General 3 12-13-2005 10:48 AM
atd stopped working beaming_linux Linux - Software 7 03-25-2005 07:54 AM
Permissions Problem - atd msilvers Linux - Security 1 08-28-2004 05:57 AM
atd is messed up knandyal Linux - General 1 06-28-2002 04:18 PM
Crond jimval7 Linux - General 2 03-06-2002 11:28 AM


All times are GMT -5. The time now is 09:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration