From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 19:13:45 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 6628F16A403 for ; Wed, 20 Dec 2006 19:13:45 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id C372A43C9F for ; Wed, 20 Dec 2006 19:13:44 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id kBKIk2QP030570; Wed, 20 Dec 2006 13:46:02 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id kBKIk2cP030569; Wed, 20 Dec 2006 13:46:02 -0500 (EST) (envelope-from jerrymc) Date: Wed, 20 Dec 2006 13:46:02 -0500 From: Jerry McAllister To: stas khromoy Message-ID: <20061220184602.GB30425@gizmo.acns.msu.edu> References: <458964AB.2080400@edpausa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <458964AB.2080400@edpausa.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: replicating /etc/passwd on a failover machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 19:13:45 -0000 On Wed, Dec 20, 2006 at 11:28:27AM -0500, stas khromoy wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 . Almost. You just need to make sure database stuff is updated properly. Check out pwd_mkdb(8) and vipw(8) and man master.passwd and man passwd. ////jerry > > thanks