On Sun, 22 Apr 2007 01:50:48 +0100, Keith G. Robertson-Turner wrote:
Verily I say unto thee, that Martin Marques spake thusly:
peter kostov escribi:
I have logwatch installed, but I didn't know about it. Thanks for pointing it out!
Configure it and make it run. It helps alot!
AFAIK the default Fedora setup is to install and run logwatch using cron, every day at 4:02am.
There should be a file:
/etc/cron.daily/0logwatch
If it's there, and crontab contains an entry for cron.daily, then that should be all the configuring it needs.
...Except that the reports are sent to root, and root's mail often goes unread.
Peter, check root's mail -- if the logwatch reports are there, you can edit /etc/aliases, find the line that says who should get root's mail (the last line in the file), uncomment it, and change it to your user ID:
# Person who should get root's mail root: put-your-user-ID-here
Then run newaliases and you should start getting logwatch reports.
-- Chris Tyler Fedora Daily Package - http://dailypackage.fedorabook.com/
Chris Tyler wrote:
On Sun, 22 Apr 2007 01:50:48 +0100, Keith G. Robertson-Turner wrote:
Verily I say unto thee, that Martin Marques spake thusly:
peter kostov escribi:
I have logwatch installed, but I didn't know about it. Thanks for pointing it out!
Configure it and make it run. It helps alot!
AFAIK the default Fedora setup is to install and run logwatch using cron, every day at 4:02am.
There should be a file:
/etc/cron.daily/0logwatch
If it's there, and crontab contains an entry for cron.daily, then that should be all the configuring it needs.
...Except that the reports are sent to root, and root's mail often goes unread.
Peter, check root's mail -- if the logwatch reports are there, you can edit /etc/aliases, find the line that says who should get root's mail (the last line in the file), uncomment it, and change it to your user ID:
# Person who should get root's mail root: put-your-user-ID-here
Then run newaliases and you should start getting logwatch reports.
-- Chris Tyler Fedora Daily Package - http://dailypackage.fedorabook.com/
Thanks all for replying! Peter