From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 18:23:04 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 6B0ED16A407 for ; Wed, 20 Dec 2006 18:23:04 +0000 (UTC) (envelope-from viper@fx-services.com) Received: from mamata.fx-services.com (mamata.fx-services.com [217.25.36.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E276643CA0 for ; Wed, 20 Dec 2006 18:23:03 +0000 (GMT) (envelope-from viper@fx-services.com) Received: from 81-231-108-183-no49.tbcn.telia.com ([81.231.108.183] helo=[192.168.2.160]) by mamata.fx-services.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Gx5bU-000PEm-1c for freebsd-questions@freebsd.org; Wed, 20 Dec 2006 18:51:45 +0100 Message-ID: <45897829.1040802@fx-services.com> Date: Wed, 20 Dec 2006 18:51:37 +0100 From: Robin Vley User-Agent: Icedove 1.5.0.8 (X11/20061128) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <458964AB.2080400@edpausa.com> <200612201106.03880.kirk@strauser.com> In-Reply-To: <200612201106.03880.kirk@strauser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Mail is Virus Free, FXS MailGateway X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mamata.fx-services.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - fx-services.com X-Source: X-Source-Args: X-Source-Dir: 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 18:23:04 -0000 Kirk Strauser wrote: >> i doubt that just copying over /etc/passwd and master.passwd will work . > You'd also need to pick up /etc/{s,}pwd.db - the compiled versions of those > files. I just read in another post that you can compile them using pwd_mkdb, that was news for me. I just want to confirm that just copying (rsyncing in our case) the .db files works just fine. We do it to a mirror of our webhosting platform, all logins work just fine on the mirrored machine. -- Robin Vley F/X Services Managed Hosting http://www.fx-services.com