From b892f82b8ed02952f39c6b945a4d1936ce215ab3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 30 Sep 2008 12:19:02 +0000 Subject: blacklist cifs instead of only smbfs for samba --- cron-sh/security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh') diff --git a/cron-sh/security.sh b/cron-sh/security.sh index c090b94..2ada1bc 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -75,7 +75,7 @@ export EXCLUDE_REGEXP # Modified filters coming from debian security scripts. # rootfs is not listed among excluded types, because # / is mounted twice, and filtering it would mess with excluded dir list -TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda)' +TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda|cifs)' MOUNTPOINT_FILTER='^\/mnt|^\/media' DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \ {print $2}' /proc/mounts | uniq` -- cgit v1.2.1