Logwatch for Linux Systems – Scheduled email.

On my personal desktop at home, I like to see the statistics at least once a day, for what was installed, what was run with sudo and other such details like kernel errors.

Running this monotonously every day is quite boring, so comes to rescue is logwatch. I have Fedora installation so I will talk about the location with respect to that so for your distribution it might be a little different.

First install logwatch using 🙂 yum install logwatch

and you are done.

If you need to do more configuration and want to see something different in the mail that is sent( BTW sendmail is assumed to be default mail client), the keep reading.
First open the file /etc/logwatch/conf/logwatch.conf
The contents for my distro is just one line 🙂
# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)
So, open the file /usr/share/logwatch/default.conf/logwatch.confbr
I will highlight the important lines in the file here:
LogDir = /var/log — This is the directory for all the log files
MailTo = root — Whom should the mail be sent to
Print = If this is set to true then there will be no mail sent and the output will be displayed on the stdout.
Detail = The level of details you want to see in the mail or the output on screen.

Thats pretty much it.. If you want to further modify the details in the mail you can configure the services. For more advanced usage you can even go to /usr/share/logwatch/scripts/services and configure the individual scripts.

\"Reblog

Startup animation and theme for Fedora 12 onwards.

Since the release of Fedora 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts.

Description:

Plymouth provides an attractive graphical boot animation in
place of the text messages that normally get shown.  Text
messages are instead redirected to a log file for viewing
after boot.

Plymouth does support themes and there are couple of plymouth themes already in the repos:

plymouth-theme-spinfinity-0.8.2-3.fc13.i686
plymouth-system-theme-0.8.2-3.fc13.i686
plymouth-theme-charge-0.8.2-3.fc13.i686
plymouth-theme-fade-in-0.8.2-3.fc13.i686
plymouth-theme-solar-0.8.2-3.fc13.i686

To use one of these you need to do the following and see the effects after a reboot:

sudo /usr/sbin/plymouth-set-default-theme <theme name>
sudo /usr/libexec/plymouth/plymouth-update-initrd

\"Reblog