Date: Sun, 07 Jun 1998 20:18:35 +0200 From: Palle Girgensohn <girgen@partitur.se> To: Wm Brian McCane <root@bmccane.maxbaud.net> Cc: isp@FreeBSD.ORG Subject: Re: nightly security run Message-ID: <357AD97B.43A50C2E@partitur.se> References: <Pine.BSF.3.96.980607113818.4455A-100000@bmccane.maxbaud.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357AD97B.43A50C2E>
