read only system file systems for jail

Chad Leigh -- Shire.Net LLC chad at shire.net
Tue May 11 22:46:48 PDT 2004


On May 11, 2004, at 11:31 PM, Chad Leigh -- Shire.Net LLC wrote:

> Hi All
>
> I am playing around on 5.2-CURRENT and am setting up a system to run 
> various programs inside of jails.  Including allowing the users to ssh 
> in etc.
>
> Is there a fundamental problem of having the following all be 
> read-only file systems, with the noted exceptions?
>
> /bin
> /sbin
> /libexec
> /lib
> /usr
> /var
>
> note:  /usr/local would not be readonly and /var/tmp would not be 
> readonly
>

Sorry,  the whole /var is not readonly.  Sorry, I misread my notes...

Chad

> It seems to work in my test jails but I was wondering about hidden 
> problems or non obvious problems.
>
> note that users are not allowed root privilege and hence are not 
> installing stuff into any of these hierarchies and no /usr/ports
>
> Thanks
> Chad
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list