aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security_check.sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-20 14:34:45 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-20 14:34:45 +0000
commitcaaa86243343eac53c48f5e2c121f343d85d2d22 (patch)
tree7f68d816e5f349ffc15cab5fe057c609999deebd /cron-sh/security_check.sh
parent5d54aaccb907e8c02a5e0fdfcc3e4a81ab6b7c87 (diff)
downloadmsec-caaa86243343eac53c48f5e2c121f343d85d2d22.tar
msec-caaa86243343eac53c48f5e2c121f343d85d2d22.tar.gz
msec-caaa86243343eac53c48f5e2c121f343d85d2d22.tar.bz2
msec-caaa86243343eac53c48f5e2c121f343d85d2d22.tar.xz
msec-caaa86243343eac53c48f5e2c121f343d85d2d22.zip
Fixes for CHECK_RPM and CHECK_CHKROOTKIT.
Diffstat (limited to 'cron-sh/security_check.sh')
-rwxr-xr-xcron-sh/security_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index 89daea2..c7bb664 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -262,7 +262,7 @@ fi
### rpm database checks
-if [[ ${RPM_CHECK} == yes ]]; then
+if [[ ${CHECK_RPM} == yes ]]; then
if [[ -s ${RPM_VA_TODAY} ]]; then
printf "\nSecurity Warning: These files belonging to packages are modified on the system :\n" >> ${SECURITY}
@@ -280,7 +280,7 @@ if [[ ${RPM_CHECK} == yes ]]; then
fi
### chkrootkit checks
-if [[ ${CHKROOTKIT_CHECK} == yes ]]; then
+if [[ ${CHECK_CHKROOTKIT} == yes ]]; then
if [[ -s ${CHKROOTKIT_TODAY} ]]; then
printf "\nChkrootkit report:\n" >> ${SECURITY}