cvs commit: src/etc/periodic/security 100.chksetuid

John-Mark Gurney gurney_j at resnet.uoregon.edu
Thu Jan 13 13:51:37 PST 2005


Jacques A. Vidrine wrote this message on Thu, Jan 13, 2005 at 14:55 -0600:
> On Thu, Jan 13, 2005 at 10:41:54PM +0200, Giorgos Keramidas wrote:
> > On 2005-01-13 11:34, John-Mark Gurney <gurney_j at resnet.uoregon.edu> 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.

Most nfs installs, you have control over the server, and are probably
already running something similar on the server... If you are mounting
"untrusted" shares, as you said, they should be mounted nosetuid or noexec,
and if you really need it not mounted noexec, then we should provide an
include of non-local fs's...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the cvs-all mailing list