[Aide] Re AIDE email scipts examples
Chuck Amadi Systems Administrator
chuck at smtl.co.uk
Wed Sep 27 13:31:40 EEST 2006
Hi List
I am after a simple slick aide email script to place in
my /etc/cron.daily
I have something knocked up as below but would like to check a few
examples.
My aide-report script.
#!/bin/sh
# Aide Report script
# created 27/09/06
PATH=$PATH:/usr/bin
MY_VERSION="`grep -i ^suse /etc/SuSE-release`"
echo $MY_VERSION
echo "run aide --init Initialize the database"
cd /usr/bin ; aide --init;
echo " run aide --check Check the database"
cd /usr/bin ; aide --check;
echo "run Check and update the database non-interactively"
cd /usr/bin ; aide --update;
echo "Daily AIDE report Finished! "
Cheers
Chuck
--
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL),
Princess of Wales Hospital
Coity Road
Bridgend,
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820
Fax: +44 1656 752830
More information about the Aide
mailing list