diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-12 13:36:53 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-12 13:36:53 +0000 |
commit | a95f7d45757dec82f0929e3229a7537324d9aee0 (patch) | |
tree | f9d5d5d96ed0c0b8f2762ff15ea886a7e7dd7ae3 /cron-sh/security.sh | |
parent | 888c5031b856c211e1e3018b91051b0cf6219088 (diff) | |
download | msec-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).
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-x | cron-sh/security.sh | 3 |
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 |