From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 17:17:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29B8C16A415 for ; Wed, 20 Dec 2006 17:17:25 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA9243CB3 for ; Wed, 20 Dec 2006 17:17:12 +0000 (GMT) (envelope-from freebsd@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 0479A45EE; Wed, 20 Dec 2006 08:17:12 -0900 (AKST) From: Beech Rintoul Organization: Alaska Paradise Travel To: freebsd-questions@freebsd.org Date: Wed, 20 Dec 2006 08:16:52 -0900 User-Agent: KMail/1.9.4 References: <458964AB.2080400@edpausa.com> In-Reply-To: <458964AB.2080400@edpausa.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2268170.IK1mpEHezY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612200817.09411.freebsd@alaskaparadise.com> Cc: stas khromoy Subject: Re: replicating /etc/passwd on a failover machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@alaskaparadise.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 17:17:25 -0000 --nextPart2268170.IK1mpEHezY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 20 December 2006 07:28, stas khromoy wrote: > hey folks > > we are working on building a failover server. > now everything is going along pretty nicely. (knock on wood) > > so the question of the day. > is there a way to replicate the password files ? > > i doubt that just copying over /etc/passwd and master.passwd will work . It will work fine as long as you run pwd_mkdb after copying or changing any= of=20 the files. Also, you can use vipw to edit the list. It runs pwd_mkdb after= =20 you write and exit. See the relevant man pages for more info. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart2268170.IK1mpEHezY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFiXAVR5sEeCt9j00RAsN+AJ9qWdE3MdoVMXnX3Ea3uQu/a9JBGQCcDOBt uc+GCvvNPnlVGyyiBwi11Oo= =Llk+ -----END PGP SIGNATURE----- --nextPart2268170.IK1mpEHezY--