aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-12 13:36:53 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-12 13:36:53 +0000
commita95f7d45757dec82f0929e3229a7537324d9aee0 (patch)
treef9d5d5d96ed0c0b8f2762ff15ea886a7e7dd7ae3
parent888c5031b856c211e1e3018b91051b0cf6219088 (diff)
downloadmsec-a95f7d45757dec82f0929e3229a7537324d9aee0.tar
msec-a95f7d45757dec82f0929e3229a7537324d9aee0.tar.gz
msec-a95f7d45757dec82f0929e3229a7537324d9aee0.tar.bz2
msec-a95f7d45757dec82f0929e3229a7537324d9aee0.tar.xz
msec-a95f7d45757dec82f0929e3229a7537324d9aee0.zip
Do not run chkrootkit on NFS partitions (#37753).
-rwxr-xr-xcron-sh/security.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index f7dc729..0d8975a 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -186,7 +186,8 @@ fi
### chkrootkit checks
if [[ ${CHECK_CHKROOTKIT} == yes ]]; then
if [ -x /usr/sbin/chkrootkit ]; then
- /usr/sbin/chkrootkit ${CHKROOTKIT_OPTION} > ${CHKROOTKIT_TODAY}
+ # do not check on NFS
+ /usr/sbin/chkrootkit -n ${CHKROOTKIT_OPTION} > ${CHKROOTKIT_TODAY}
fi
fi