From owner-freebsd-stable Thu Aug 3 8:23: 7 2000 Delivered-To: freebsd-stable@freebsd.org Received: from vinyl.sentex.ca (vinyl.sentex.ca [209.112.4.14]) by hub.freebsd.org (Postfix) with ESMTP id E1DDE37BA02 for ; Thu, 3 Aug 2000 08:23:01 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by vinyl.sentex.ca (8.9.3/8.9.3) with ESMTP id LAA13829; Thu, 3 Aug 2000 11:22:59 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simoeon.sentex.net (simeon.sentex.ca [209.112.4.47]) by granite.sentex.net (8.8.8/8.6.9) with ESMTP id LAA11627; Thu, 3 Aug 2000 11:22:58 -0400 (EDT) Message-Id: <4.3.2.7.0.20000803111525.02caae50@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 03 Aug 2000 11:18:35 -0400 To: Marty Cawthon , freebsd-stable@FreeBSD.ORG From: Mike Tancsa Subject: Re: Move passwd info from 3.5-S to 4.1-S In-Reply-To: <20000803151326W.mrc@ChipChat.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 03:13 PM 8/3/00 +0000, Marty Cawthon wrote: >I have FreeBSD 3.5-Stable running. >Am preparing a new hard disk with FreeBSD 4.1-Stable to replace it. > >To move the user account information (passwords, User IDs, Initial Group ID) >I plan to move these files: Just copy over /etc/groups and /etc/master.passwd, and on the new system, vipw and then save the file. (or pwd_mkdb) I will boot the 3.5 system, mount the 4.1 hard drive root at /mnt/oroot >and "cp /etc/passwd /mnt/oroot/etc/passwd". With this I hope to avoid >any peculiar "file locking" of these files once the 4.1 system is running. Also, make sure that the uids under 100 are sane and that any added on your 4.x machine are still there when you merge your files in. ---Mike ------------------------------------------------------------------------ Mike Tancsa, tel +1 519 651 3400 Sentex Communications mike@sentex.net Cambridge, Ontario Canada www.sentex.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message