From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 17:16:17 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 38ED016A412 for ; Wed, 20 Dec 2006 17:16:17 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF8143CBD for ; Wed, 20 Dec 2006 17:16:05 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 20 Dec 2006 12:16:05 -0500 id 00056427.45896FD5.00017768 Date: Wed, 20 Dec 2006 12:16:04 -0500 From: Bill Moran To: stas khromoy Message-Id: <20061220121604.13fc768d.wmoran@collaborativefusion.com> In-Reply-To: <458964AB.2080400@edpausa.com> References: <458964AB.2080400@edpausa.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.6; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 17:16:17 -0000 In response to stas khromoy : > -----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 . Actually, it's not much harder than that. The only step you're missing is running pwd_mkdb on the files after they've been copied, you can easily add that to your failover process. Although, it may be worthwhile to investigate kerberos or LDAP if there's any chance at all that this might grow into a larger desire to replicate user accounts. -- Bill Moran Collaborative Fusion Inc.