Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 12:21:27 +0200
From:      Jimmy Lantz <jimmy.lantz@lusidor.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Monunting /etc read-only was Re: mount read only ...
Message-ID:  <5.1.0.14.0.20020918121808.00be1e30@mail.lusidor.com>
In-Reply-To: <44ptvcu3dt.fsf@be-well.ilk.org>
References:  <5.1.0.14.0.20020917103713.032c3950@mail.lusidor.nu> <5.1.0.14.0.20020917103713.032c3950@mail.lusidor.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

><snip>
> > I'm looking for away to write protect
> > some files whats the pros and cons
> > with having the file on a seperate partition and mount that read-only
> > or use the chflags schg and go to kernel security level 2?
>
>*Either* way you probably want to raise the security level.  A
>read-only mount doesn't help if it can be re-mounted writeable.  If
>the files *have* to be in the same directory with writeable files (as
>for many systems is true of /etc), schg can be a very good solution.
What in /etc needs to writeable? I was just thinking to mount it read-only.
/ Jimmy

>If the files aren't part of the standard system at all, then as
>someone else suggested, write-only media are an easy answer.
<snip>


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




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