Daily chksetuid script - how to ignore certain dirs/filesystems?

Ceri Davies ceri at submonkey.net
Sun Mar 19 12:42:31 UTC 2006


On 19/3/06 10:58, "Pat Maddox" <pergesu at 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.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                      -- Moliere





More information about the freebsd-questions mailing list