From owner-freebsd-isp@FreeBSD.ORG Thu Nov 20 21:26:36 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75D1116A4CE for ; Thu, 20 Nov 2003 21:26:36 -0800 (PST) Received: from util.inch.com (ns.inch.com [216.223.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5639C43F75 for ; Thu, 20 Nov 2003 21:26:35 -0800 (PST) (envelope-from scott@inch.com) Received: from DellBSD.inch.com (DellBSD.inch.com [216.223.192.89]) hAL5QX5o033682 for ; Fri, 21 Nov 2003 00:26:34 -0500 (EST) (envelope-from scott@inch.com) Received: by DellBSD.inch.com (Postfix, from userid 1000) id 1182A5D91; Fri, 21 Nov 2003 00:26:33 -0500 (EST) Date: Fri, 21 Nov 2003 00:26:33 -0500 From: Scott Lambert To: Freebsd Isp List Message-ID: <20031121052632.GA27853@DellBSD.inch.com> Mail-Followup-To: Freebsd Isp List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Subject: Re: merging 2 passwd files X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 05:26:36 -0000 On Fri, Nov 21, 2003 at 12:41:14AM -0000, InvictaNet Customer Support wrote: > Can anyone help? > I am merging 2 existing servers into one new server. > Can anyone suggest a way I can merge the 2 master.passwd files without > duplicating uid's? This part of the merge two hosts problem, I have solved. It's the "make the historically different and incompatible web configs work together" part that is slowing me down. I'll probably give up and run completely seperate web servers but I've been trying to avoid that. I want to bring them inline with current best practices. Anyway, I have a script called rsync_passwd.sh that I've been tweaking. I just went through and "generic-ized" it so that I could post it. So something could be broken. There was a lot of search and replace used. http://www.lambertfam.org/~lambert/scripts/rsync_passwd.sh -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org