From owner-freebsd-small@FreeBSD.ORG Mon Oct 17 21:21:05 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 770A116A41F for ; Mon, 17 Oct 2005 21:21:05 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C08B43D45 for ; Mon, 17 Oct 2005 21:21:04 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j9HLL2Xa020908; Mon, 17 Oct 2005 14:21:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j9HLL1Ko020907; Mon, 17 Oct 2005 14:21:01 -0700 Date: Mon, 17 Oct 2005 14:21:01 -0700 From: Brooks Davis To: "Michael W. Lucas" Message-ID: <20051017212101.GF15097@odin.ac.hmc.edu> References: <20051017134257.GA74997@bewilderbeast.blackhelicopters.org> <20051017204634.42bca795.molter@tin.it> <20051017184949.GA77066@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sDKAb4OeUBrWWL6P" Content-Disposition: inline In-Reply-To: <20051017184949.GA77066@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu 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 21:21:05 -0000 --sDKAb4OeUBrWWL6P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 17, 2005 at 02:49:49PM -0400, Michael W. Lucas wrote: > On Mon, Oct 17, 2005 at 08:46:34PM +0200, Marco Molteni wrote: > > On Mon, 17 Oct 2005 09:42:57 -0400 > > "Michael W. Lucas" wrote: > >=20 > > > 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. > > >=20 > > > 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. > > >=20 > > > 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... > >=20 > > you can use the /conf override directory as explained in > > man diskless: > >=20 > > /conf/default/10.0.0.1/etc/master.passwd > > /conf/default/10.0.0.1/etc/passwd > >=20 > > /conf/default/10.0.0.2/etc/master.passwd > > /conf/default/10.0.0.2/etc/passwd >=20 > Yes, but on boot /etc/ is a MFS. >=20 > I can change the password, but on the next boot it reverts back to > whatever's saved on the hard drive. >=20 > I'd like to avoid doing kerberos or NIS for half a dozen little boxes, > but if that's the only choice that's what I'll have to do. For a one off setup, change the password and then copy the resulting password files to /conf by hand. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --sDKAb4OeUBrWWL6P Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDVBW9XY6L6fI4GtQRAoycAKCoA90YaZgDdRo21JK8TxcLR0+74wCfSKV4 OxEeXIpkd5Y3NAvUC8gFRak= =hKLg -----END PGP SIGNATURE----- --sDKAb4OeUBrWWL6P--