From owner-freebsd-stable Thu Aug 3 8:13:42 2000 Delivered-To: freebsd-stable@freebsd.org Received: from EI-Tiger.ChipChat.ne.jp (EI-Tiger.ChipChat.ne.jp [211.5.237.226]) by hub.freebsd.org (Postfix) with ESMTP id A0EE437B9DD for ; Thu, 3 Aug 2000 08:13:35 -0700 (PDT) (envelope-from mrc@ChipChat.ne.jp) Received: from localhost (localhost [127.0.0.1]) by EI-Tiger.ChipChat.ne.jp (8.9.3/8.9.3) with ESMTP id PAA00521 for ; Thu, 3 Aug 2000 15:13:26 GMT (envelope-from mrc@ChipChat.ne.jp) To: freebsd-stable@freebsd.org Subject: Move passwd info from 3.5-S to 4.1-S X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000803151326W.mrc@ChipChat.ne.jp> Date: Thu, 03 Aug 2000 15:13:26 GMT From: Marty Cawthon X-Dispatcher: imput version 980905(IM100) Lines: 27 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: /etc/passwd /etc/master.passwd /etc/pwd.db /etc/spwd.db 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. Two questions: 1) Are these (4) files sufficient or are other files needed? (I realize that /etc/group is also important) 2) Can these files simply be moved from a 3.5 system to a 4.1 system, or is there a change of file format? I read the online handbook, and the section regarding users did not describe this situation. Also perused the man pages. Marty Cawthon ChipChat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message