selinux stopaudit

cat stopaudit

grep $1 /var/log/audit/audit.log | audit2allow -M $1
sed -i -e s/allow/dontaudit/ ${1}.te
checkmodule -M -m -o $1.mod $1.te
semodule_package -o $1.pp -m $1.mod
semodule -i $1.pp

./stopaudit httpd

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.