aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security_check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh/security_check.sh')
-rwxr-xr-xcron-sh/security_check.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index dcdbfc4..2ed31aa 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -260,6 +260,13 @@ if [[ ${RPM_CHECK} == yes ]]; then
printf "\t\t- $f\n"
done >> ${SECURITY}
fi
+
+ if [[ -s ${RPM_VA_CONFIG_TODAY} ]]; then
+ printf "\nSecurity Warning: These config files belonging to packages are modified on the system :\n" >> ${SECURITY}
+ cat ${RPM_VA_CONFIG_TODAY} | while read f; do
+ printf "\t\t- $f\n"
+ done >> ${SECURITY}
+ fi
fi
### chkrootkit checks