Clean up crontab stuff (this is how I like my crontab file to look like - nothing more)
SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly
Remove some hourly and daily scripts (these annoy me)
rm -f /etc/cron.hourly/inn-cron-nntpsend rm -f /etc/cron.hourly/inn-cron-rnews rm -f /etc/cron.hourly/diskcheck rm -f /etc/cron.daily/00-logwatch rm -f /etc/cron.daily/00webalizer rm -f /etc/cron.daily/inn-cron-expire rm -f /etc/cron.daily/tetex.cron rm -f /etc/cron.daily/tripwire-check rm -f /etc/cron.daily/slrnpull-expire rm -f /var/spool/cron/mailman
Clean up runlevels (not needed - look up chkconfig `man chkconfig` - it is very useful)
chkconfig --level 123456 sendmail off chkconfig --level 123456 isdn off chkconfig --level 123456 linuxconf off chkconfig --level 123456 iscsi off chkconfig --level 123456 atd off chkconfig --level 123456 kudzu off chkconfig --level 123456 xinetd off chkconfig --level 123456 rhnsd off chkconfig --level 123456 portmap off chkconfig --level 123456 nfslock off