From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 02:59:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DB711065677 for ; Fri, 12 Mar 2010 02:59:34 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 16F388FC26 for ; Fri, 12 Mar 2010 02:59:33 +0000 (UTC) Received: by pwj4 with SMTP id 4so445195pwj.13 for ; Thu, 11 Mar 2010 18:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9xv12QqBvLcLP9/X2ZJQFWCsJkm9HBuSyOyKbxBl1i0=; b=ir7dLv1QHv4aVZU92Yokn33N8RRB9CgpQa/MK296m3J3jDGo+oSpnNgXRqqyh0vSu0 j4VKVoQATymnJEg+3MtOrF+l6HMvhyTzzjaa+gtnxGA1HcpBKuDzrUC2J9LmVZcQWtkw 4XIzJ+kb5ondvjpNr3UT4FuqrViOz/27lz74I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=x/PiR1sinGCds2l3hb+syjq4vgT20Bieck8Rr+c5514O9m7ou30OfZ7OQ1EW8xg0bY SX/NvCB41TKyLTgHMSFEb1Cshn+CU1herkIVEKV6ORohmI6UfjBPCeKyIRBo3swkPYlh m32ClOfq8HwQAUQwcO5alo8oEUtTRlszPNFg8= MIME-Version: 1.0 Received: by 10.142.118.26 with SMTP id q26mr1990589wfc.127.1268362773533; Thu, 11 Mar 2010 18:59:33 -0800 (PST) In-Reply-To: <4B98A4CB.6090507@infracaninophile.co.uk> References: <64c038661003101809s7467432buce6a548b3b0d5cf2@mail.gmail.com> <20100311054110.GA11675@dan.emsphone.com> <4B98A4CB.6090507@infracaninophile.co.uk> Date: Thu, 11 Mar 2010 19:59:33 -0700 Message-ID: <64c038661003111859i3e038e4eq7bb265289da02a0f@mail.gmail.com> From: Modulok To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Moving master.passwd file between servers... is this correct? 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: Fri, 12 Mar 2010 02:59:34 -0000 Thanks guys, it worked! -Modulok- On 3/11/10, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/03/2010 05:41:10, Dan Nelson wrote: >> In the last episode (Mar 10), Modulok said: >>> I need to migrate a passwd file from an old 6.2 server to a newer 8.0 >>> server (different box). This is what I did: >>> >>> copied the '/etc/master.passwd' from old server to '/etc/master.passwd' >>> on new server then ran: >>> >>> pwd_mkdb /etc/master.passwd && pwd_mkdb -p /etc/master.passwd >>> >>> It seems to work, but is this correct? I'd hate to miss somethign before >>> it goes online. >> >> Yep, that should work. Don't forget to update /etc/groups too. >> > > And try running 'mergemaster -p' which should let you merge in any new > system accounts (ignore all the other bits it looks at). > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuYpMsACgkQ8Mjk52CukIxacgCfTxB2WO7JXMu4XQs/M9kcYvWu > QwIAn0DX0eFW8IrP5N5vOlZR51Eg68FF > =2qaS > -----END PGP SIGNATURE----- >