From owner-cvs-all@FreeBSD.ORG Thu Jan 13 20:55:29 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 705AD16A4CE; Thu, 13 Jan 2005 20:55:29 +0000 (GMT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1560043D1F; Thu, 13 Jan 2005 20:55:29 +0000 (GMT) (envelope-from nectar@celabo.org) Received: by gw.celabo.org (Postfix, from userid 1001) id 7F8A03E395E; Thu, 13 Jan 2005 14:55:28 -0600 (CST) Date: Thu, 13 Jan 2005 14:55:28 -0600 From: "Jacques A. Vidrine" To: Giorgos Keramidas Message-ID: <20050113205528.GA83599@hellblazer.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Giorgos Keramidas , John-Mark Gurney , Ceri Davies , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org References: <20050113153228.GG49329@submonkey.net> <200501131849.j0DInEEE029957@gw.catspoiler.org> <20050113185323.GI49329@submonkey.net> <20050113190755.GA24939@orion.daedalusnetworks.priv> <20050113193413.GL19624@funkthat.com> <20050113204154.GA829@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050113204154.GA829@gothmog.gr> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: cvs-src@freebsd.org cc: John-Mark Gurney cc: Ceri Davies cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/etc/periodic/security 100.chksetuid X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 20:55:29 -0000 On Thu, Jan 13, 2005 at 10:41:54PM +0200, Giorgos Keramidas wrote: > On 2005-01-13 11:34, John-Mark Gurney wrote: > > Giorgos Keramidas wrote this message on Thu, Jan 13, 2005 at 21:07 +0200: > > > > Sounds like something like chksetuid_exclude which lists mountpoints to > > > > exclude might be in order. Any objections to me putting that together, > > > > or are people happy with the status quo? > > > > > > It's not a bad idea. While you're at it, a knob that disables checks > > > for NFS-mounted filesystems may be nice too. It doesn't make sense to > > > check the same files both in the client *and* the server, as Don has > > > pointed out. > > > > > > I think I can almost see this coming :-) > > > > > > daily_status_security_chksetuid_nfs="NO" > > > > Why not do something like: > > daily_status_security_chksetuid_remote="NO" > > > > Find already has "logic" that tries to determin if an fs is local or > > remote.. > > That sounds even better! :-) Except that remote file systems are the most important ones to check for setuid executables ... I think they should be mounted nosetuid (or better, noexec), or they should be periodically checked. Cheers, -- Jacques Vidrine / nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org