Change the timezone on CentOS

I recently needed to set up a CentOS 5 box and completely forgot how to set the timezone. There’s apparantly a nice easy text GUI for doing it in RHEL but I couldn’t find the same thing on the CentOS box so here’s how to do it. It should also work for most Linux systems.

Stop logwatch reporting on a particular service on CentOS

logwatch is a system log analyzer and reporter which emails daily reports about information in the system log files in /log. On CentOS and Red Hat Enterprise Linux this is usually configured by default to email the root user on a daily basis with the results from the log analysis. This post looks at how to stop logwatch from reporting on a particular service, for example sendmail and postfix.