fixfile.cron added.
Daniel J Walsh
dwalsh at redhat.com
Thu Jul 1 12:14:09 UTC 2004
Todays policycoreutils has a new cron job, fixfiles.cron, that will run
in /etc/cron.daily. This script will run a check on the file system on
a daily basis looking for file contexts in the wrong state. It will
them mail a list of files with the incorrect context to the root account.
The following environment variables are set and can be overridden in the
/etc/selinux/config directory.
CRONTYPE="check" # You could change this to "restore" to have the
script automatically clean up
INVALIDFILE=/var/tmp/badcontext # Name of the file to store the
badcontext file list
CRONMAILTO="root" # Account to send mail to
Suggestions on improvements? Comments?
Dan
More information about the selinux
mailing list