From owner-freebsd-small@FreeBSD.ORG Mon Oct 17 18:45:22 2005 Return-Path: X-Original-To: small@freebsd.org Delivered-To: freebsd-small@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 911FE16A41F for ; Mon, 17 Oct 2005 18:45:22 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1015E43D55 for ; Mon, 17 Oct 2005 18:45:21 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.112.130) by vsmtp2.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 43521106000BDF85; Mon, 17 Oct 2005 20:45:06 +0200 Received: by tortellino.codalunga (Postfix, from userid 1001) id 930D882F0; Mon, 17 Oct 2005 20:46:34 +0200 (CEST) Date: Mon, 17 Oct 2005 20:46:34 +0200 From: Marco Molteni To: "Michael W. Lucas" Message-Id: <20051017204634.42bca795.molter@tin.it> In-Reply-To: <20051017134257.GA74997@bewilderbeast.blackhelicopters.org> References: <20051017134257.GA74997@bewilderbeast.blackhelicopters.org> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: small@freebsd.org Subject: Re: Separate password files on diskless boxes? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 18:45:22 -0000 On Mon, 17 Oct 2005 09:42:57 -0400 "Michael W. Lucas" wrote: > I'm using nanobsd.sh on 6.0RC to provide a small world for diskless > boxes. These are for small single-purpose machines -- i.e., DNS > server, FTP server, etc, served off read-only NFS. Nothing exciting > there, it just works. > > The last problem I'm having is the password file. I need to assign > separate password files to each, and separate root passwords on each > diskless station. The problem, of course, is the MFS /etc, so changes > are not permanent. > > Is there any way to make passwd(1) talk to a different password file? > I really don't want to use read/write mounts on my NFS server. Or, > has anyone come up with a clever way to do this? All the tutorials in > Google talk about using the server's password file, which I > specifically don't want to do... you can use the /conf override directory as explained in man diskless: /conf/default/10.0.0.1/etc/master.passwd /conf/default/10.0.0.1/etc/passwd /conf/default/10.0.0.2/etc/master.passwd /conf/default/10.0.0.2/etc/passwd and so on. marco -- He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. -- Thomas Jefferson