From owner-freebsd-questions Fri Aug 10 6:52:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 800AE37B405 for ; Fri, 10 Aug 2001 06:52:13 -0700 (PDT) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id f7ADqAh01060; Fri, 10 Aug 2001 15:52:10 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 10 Aug 2001 15:52:51 +0200 (CEST) From: Micke Josefsson To: Terry Witherspoon Subject: RE: Merging two password files. Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 10-Aug-01 Terry Witherspoon wrote: > > Hi, > > I've two 3.2 Release machines serving as pop mail hosts. Due > to a reorganization we have to merge the systems together. > I'd like to merge the password files together without losing > the user passwords. Anyone know how to do this on 3.2? > > Thanks, TW I'm not sure I understand the diffculty here. As I se it as long as the UIDs and GIDs are different on the two boxes you could simply cat them together. Perhaps it is easier to use pw to generate the accounts with a little help of an awk-script that retrieves the data needed? /M ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 4.3-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message