Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 08:25:44 -0700
From:      "Pat Maddox" <pergesu@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Daily chksetuid script - how to ignore certain dirs/filesystems?
Message-ID:  <810a540e0603190725m4de60f7fgdaeb175e6c32cc9d@mail.gmail.com>
In-Reply-To: <C043022E.ABDA%ceri@submonkey.net>
References:  <810a540e0603190258u6717013fybf3d5f0dad32d5a9@mail.gmail.com> <C043022E.ABDA%ceri@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/19/06, Ceri Davies <ceri@submonkey.net> wrote:
> On 19/3/06 10:58, "Pat Maddox" <pergesu@gmail.com> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?810a540e0603190725m4de60f7fgdaeb175e6c32cc9d>