Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2000 00:53:21 -0400
From:      Hank Leininger <freebsd-security@progressive-comp.com>
To:        freebsd-security@FreeBSD.ORG
Subject:   Re: BSD chpass (fwd)
Message-ID:  <200010050453.AAA32275@mailer.progressive-comp.com>

next in thread | raw e-mail | index | archive | help
On 2000-10-05, Dima Dorfman <dima@unixfreak.org> wrote:

> > On Wed, Oct 04, 2000 at 10:47:15AM -0400, Garrett Wollman wrote:
> > Except you can still just mount a doctored copy over the top of it

> Actually, now that I think about it, this can be detered to a certain
> point.  If you're running with securelevel >= 2, you can't load KLDs,
> and you can't run newfs.  What would you mount?  A vn device?  Nope,
> unless the KLD is already loaded.  A floppy?  If you have physical

Perhaps this is a stupid question, but why is mount particularly needed at
high securelevels?  So long as unmount(2) can be called by shutdown
scripts.  Hm... remounting / ro before halt/reboot perhaps... but perhaps
that behavior could be straightforward-ly special cased?  It's not like
mount(2) is a hot path =)  And/or, disallow mounts to mount points which
are not regular, empty directories, if securelevel >= 2?  What legit uses
(that could not be learned around by an admin) would this break?

--
Hank Leininger <hlein@progressive-comp.com> 
  


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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