[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-security] [RaQ3i] crontabs



Greetings,

I have a crontab installed on my server which reboots the httpd-server every two hours. I did not install this crontab (as root, long story..), and I am wondering what the best method for removing it is. Here's
the crontab when I do a "crontab -l" as root:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.15178 installed on Tue Jan  2 15:08:55 2001)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (kwprodu2.crontab installed on Fri May 19 13:13:41 2000)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /root/keep_apache_up.sh
0,30 * * * * /bin/reboot.apache


I guess I am a little hesitant to use "crontab -e" when it says in this file above to "NOT EDIT THIS FILE". Should I just issue a "crontab -r" command to remove the whole thing? Could I just comment out these lines
also using a "#" at the beginning of the line?

Thanks for any info anyone can provide...,

~ Theo