From owner-freebsd-security Thu Dec 21 23:11:41 2000 From owner-freebsd-security@FreeBSD.ORG Thu Dec 21 23:11:38 2000 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 6C92437B400 for ; Thu, 21 Dec 2000 23:11:38 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 21 Dec 2000 23:09:49 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.0/8.11.0) id eBM7BPg07669; Thu, 21 Dec 2000 23:11:25 -0800 (PST) (envelope-from cjc) Date: Thu, 21 Dec 2000 23:11:20 -0800 From: "Crist J. Clark" To: David Pick Cc: freebsd-security@FreeBSD.ORG Subject: Re: Read-Only Filesystems Message-ID: <20001221231120.F96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <657B20E93E93D4118F9700D0B73CE3EA024346@goofy.epylon.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from D.M.Pick@qmw.ac.uk on Thu, Dec 21, 2000 at 12:38:49PM +0000 Sender: cjc@rfx-64-6-211-149.users.reflexcom.com Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Dec 21, 2000 at 12:38:49PM +0000, David Pick wrote: > > > The only way I could think of to do his securely in the current > > implementation is to chflags most of the etc dir (with the exception > > of files that did need to be cahnged like passwd master.passwd > > aliases, etc.).. mainly the rc files.. but this makes administering > > remotely a pain in the ass.. Of course, security in many cases comes > > with a hassle factor. > > Some years ago I was running a RISCiX system and wanted to use > it in a number of different locations on the network. I set up > a slightly unusual disc structure as follows: > 1) The / filesystem was mounted read-only - permamently > 2) There was no separate /usr filesystem > 3) For each of the "changeable" files there was a symbolic > link of the form: /etc/passwd -> /config/etc/passwd Just a note, symlinks won't work with FreeBSD's passwd(1). -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message