From owner-freebsd-questions Sat Nov 10 17:46:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-92-93.knology.net [24.214.92.93]) by hub.freebsd.org (Postfix) with ESMTP id BA72D37B41D for ; Sat, 10 Nov 2001 17:46:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.6/8.11.6) with ESMTP id fAB1kEe83449; Sat, 10 Nov 2001 19:46:15 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200111110146.fAB1kEe83449@grumpy.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Don Sutter" Cc: "FreeBSD Questions" From: David Kelly Subject: Re: Transferring users In-reply-to: Message from "Don Sutter" of "Sat, 10 Nov 2001 17:38:42 MST." <007501c16a49$36bb83a0$13fea8c0@drs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Nov 2001 19:46:14 -0600 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 "Don Sutter" writes: > > But I'm mostly concerned with my users. Obviously, /home > needs to be transferred but I don't want to re-enter all of > my users and their passwords and home directory pointers all > over again. I like adduser and vipw but not over and over > again. The passwd file will be transferred over from the > old system but what about the passwords? Reading "man 8 pwd_mkdb" suggests all you have to do is save /etc/master.passwd from the other system then use "pwd_mkdb /saved/master.passwd" to overwrite the existing password database files. Another way to pull it off would be to use vipw on the old system to write a copy to another file (after all vipw is running your $EDITOR environment variable choice). Then on the new system remove any entries you don't like on the new installation with vipw and while you are at it merge what you saved (:r in vi) from the other and do your final touchup. Only have to do this once for all the accounts, not once per account. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message