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

phpMan: Unix Man page/ Perldoc / Info page Web Interface

Link

A web interface to browse the man pages along with perldoc or info pages for all the Linux commands.

Quite useful if you are on windows and want to quickly look at some reference for Linux command. Otherwise too quite intuitive and interesting and easy to browse.

Google staff dropping Windows for Macs, Linux PCs

For those who keep saying this is not the year of linux and probably it will never be 🙂
Google staff dropping Windows for Macs, Linux PCs
Google is abandoning the use of Windows by its staff as it\’s too much of a security threat, multiple staffers said Monday night. Recent concerns about Chinese hacks have the search firm requiring either a Mac or Linux for all new recruits to provide better security. Those who want Windows now often require explicit approval from executives and may not have any choice on desktops where it\’s only an option for notebooks.
\"Reblog