Fedora 9 Anacron :tmpwatch and Tripwire
Frank Murphy
frankly3d-fedoracore at utvinternet.com
Sun Jul 6 10:34:40 UTC 2008
Back for help.
Anacron log- comes in:-
/etc/cron.daily/tmpwatch:
/etc/cron.daily/tmpwatch: line 2: --exclude=/home/frank/Files-01/: No
such file or directory
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
error: bad time argument
here is cron-tmpwatch
------------------------------------------------
#! /bin/sh
flags=-mMfv --exclude=/home/frank/Files-01/
/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \
-x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp
/usr/sbin/tmpwatch "$flags" 30d /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
if [ -d "$d" ]; then
/usr/sbin/tmpwatch "$flags" -f 30d "$d"
fi
done
----------------------------------------------------------------------
/home/frank/Files-01/ is a mounted samba share from the server,
which I don't want checked.
------------------------------------------------------
/etc/cron.daily/tripwire-check:
Parsing policy file: /etc/tripwire/tw.pol
*** Processing Unix File System ***
Performing integrity check...
### Warning: File system error.
### Filename: /dev/kmem
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/ksyms
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/pci
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /usr/sbin/fixrmtab
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /sbin/busybox
--------------------------------------------------------------
Can I remove all the things that don't seem to be there from tw.pol?
eg /dev/kmem
--
"Still Learning"
skype: Frankly3D
http://www.frankly3d.com
More information about the fedora-list
mailing list