[CentOS] read only root file system
gopinath
gopinath at signal-networks.com
Fri May 2 13:20:52 UTC 2008
in the /etc/fstab
define ro in the permissions field of the entry where the / partition is
defined
----- Original Message -----
From: "Brett Serkez" <bserkez at gmail.com>
To: "CentOS mailing list" <centos at centos.org>
Sent: Friday, May 02, 2008 5:58 PM
Subject: Re: [CentOS] read only root file system
> On Fri, May 2, 2008 at 12:16 AM, Jason Pyeron <jpyeron at pdinc.us> wrote:
> > I am looking at having a read only box, it will not use a swap
partition.
> > Any recommendations?
>
> You'll need to break out your hard drive into multiple partitions, as
> there are certain portions of the file system that need to be writable
> such as /var and /home. I setup systems in this manner to make them
> more difficult to subvert, I'd suggestion searching for topics such as
> "linux file system hardening".
>
> When you do need to do maintenance, such as package management, you'll
> need to remount the root file system as writable which will likely
> require a reboot.
>
> Brett
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
More information about the CentOS
mailing list