From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 15:25:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BE9E16A401 for ; Sun, 19 Mar 2006 15:25:45 +0000 (UTC) (envelope-from pergesu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BAA943D46 for ; Sun, 19 Mar 2006 15:25:44 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id 18so1044886nzp for ; Sun, 19 Mar 2006 07:25:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PIJY0K+/tx0S9o0ZSbOQm0JsKYwcG9xH7CK/g5Wb2yTPsduzWrLBUE7uLT+BG3yuMPPZGSXfwNcx3rPFc7y+YnGkPC/tfVYi8MEehTetkhyi0hK6DX0T6jSWDe6DQc/VN4l1EQfWoAasCKotfBQgGev6H0azj3V7CA/5pR1OldM= Received: by 10.36.47.4 with SMTP id u4mr3202075nzu; Sun, 19 Mar 2006 07:25:44 -0800 (PST) Received: by 10.36.50.5 with HTTP; Sun, 19 Mar 2006 07:25:44 -0800 (PST) Message-ID: <810a540e0603190725m4de60f7fgdaeb175e6c32cc9d@mail.gmail.com> Date: Sun, 19 Mar 2006 08:25:44 -0700 From: "Pat Maddox" To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <810a540e0603190258u6717013fybf3d5f0dad32d5a9@mail.gmail.com> Subject: Re: Daily chksetuid script - how to ignore certain dirs/filesystems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 15:25:45 -0000 On 3/19/06, Ceri Davies wrote: > On 19/3/06 10:58, "Pat Maddox" wrote: > > > I have a backup script that runs every night, backing up everything to > > a backup drive. When the security script runs, it finds a bunch of > > setuid files at /backup - I'd like to ignore those files, so I don't > > have to wade through them every day. I also back up to a remote > > server and it results in the same thing. How can I make it skip over > > the backup dir, or at least ignore it in the output? The cron file in > > question is /etc/periodic/security/100.chksetuid > > The best way to be to mount /backup nosuid. How about on the other server? The files go to the /home partition (and that's where they have to go).