From owner-freebsd-isp Sun Jun 7 11:19:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13159 for freebsd-isp-outgoing; Sun, 7 Jun 1998 11:19:27 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13147 for ; Sun, 7 Jun 1998 11:19:21 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from d1o29.telia.com (root@d1o29.telia.com [194.236.214.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id UAA29262; Sun, 7 Jun 1998 20:19:20 +0200 (CEST) Received: from partitur.se (t1o29p63.telia.com [194.236.214.63]) by d1o29.telia.com (8.8.8/8.8.5) with ESMTP id UAA28350; Sun, 7 Jun 1998 20:19:00 +0200 (MET DST) Message-ID: <357AD97B.43A50C2E@partitur.se> Date: Sun, 07 Jun 1998 20:18:35 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: Wm Brian McCane CC: isp@FreeBSD.ORG Subject: Re: nightly security run References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Brian, Check out /etc/security. In there, there is a code snippet thar runs the find command: MP=`mount -t ufs | grep -v " nosuid" | sed 's;/dev/;&r;' | awk '{ print $3 }'` set $MP while test $# -ge 1; do mount=$1 shift find $mount -xdev -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ \( -perm -u+s -or -perm -g+s \) -print0 done | xargs -0 -n 20 ls -lTd | sort +9 > $TMP I suggest adding | grep -v "mount point of news..." to the first line if you have news on it's own partition, which I suppose you do, considering the size... :) I guess there are a bunch of ways to do it. Regards, Palle Wm Brian McCane wrote: > > Greetings, > I have noticed that the security run in FreeBSD goes through my > entire news spool directory (about 10GB). Has anyone figured out a > quick/simple way to avoid this? It slows down my system (and probably > yours) dramatically every night. > > brian > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message