Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
* First, open a terminal window and become '''root'''. Enter the following to install:
<blockquote>{{Code|yum install logwatch}}</blockquote>
* You can customize the settings by adding options to '''''/etc/logwatch/logwatch.conf'''''. By default it sends the daily logwatch email to the local root mail box. To change it, add this line:
<blockquote>{{Text|MailTo <nowiki>=</nowiki> (your email address)}}</blockquote>
* To test, enter the command '''''logwatch''''' and go check your email.
<blockquote>{{Code|logwatch}}</blockquote>* Ensure sendmail is running ('''''service sendmail status''''') or it won't work.(change status to start if it is not):<blockquote>{{Code|service sendmail status}}</blockquote>
'''Optional:'''
12,424

edits