Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-22-2006, 06:05 AM
|
#1
|
|
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Rep:
|
disable crond, atd
How can one disable crond and atd from being brought up on startup ?
|
|
|
|
01-22-2006, 07:15 AM
|
#2
|
|
Member
Registered: Mar 2005
Location: Calgary AB
Distribution: Slackware
Posts: 440
Rep:
|
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.
|
|
|
|
01-22-2006, 01:23 PM
|
#3
|
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,089
Rep: 
|
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.).
|
|
|
|
01-22-2006, 02:56 PM
|
#4
|
|
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Original Poster
Rep:
|
*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]
|
|
|
|
01-22-2006, 03:30 PM
|
#5
|
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,089
Rep: 
|
Each to his/her own
Keep an eye on the free space on /var if you're not rotating the logs though 
|
|
|
|
01-23-2006, 08:06 AM
|
#6
|
|
Member
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700
Original Poster
Rep:
|
eye-eye captain !
thanks !
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
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:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|