From owner-freebsd-questions Wed Feb 21 7:26:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 70A0637B401 for ; Wed, 21 Feb 2001 07:26:45 -0800 (PST) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.11.2/8.11.2) id f1LFQi806913; Wed, 21 Feb 2001 10:26:44 -0500 (EST) (envelope-from lowell) To: freebsd-questions@freebsd.org Cc: thomas.uhrfelt@plymovent.se Subject: Re: Moving userbase from a 4.0 -> 4.2 FreeBSD system References: <01C09C11.1E58FF60.thomas.uhrfelt@plymovent.se> From: Lowell Gilbert Date: 21 Feb 2001 10:26:44 -0500 In-Reply-To: thomas.uhrfelt@plymovent.se's message of "21 Feb 2001 14:19:17 +0100" Message-ID: <44wvakm4zv.fsf@lowellg.ne.mediaone.net> Lines: 16 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG thomas.uhrfelt@plymovent.se (Thomas Uhrfelt) writes: > I have purchased and installed a new box with all the applications we use > on our normal FBSD box. Now I want to switch out the old box in favor of > the new one, however I have one slight problem. How would I go about moving > all the useraccounts (including passwords, which I do not know myself) over > to the new system - so I don't have to give all the people new passwords. > Is it just a matter of moving the /etc/password file over in singleuser > mode or? Any help/instructions/hints would be much appriciated. /etc/password is not used by the system. You need to move over master.passwd and rebuild the dependent files with pwd_mkdb(8) [or, preferably, vipw(8)]. You will also, at a minimum, need to move (merge) over the groups file and the home directories. Depending on your needs, you should possibly also include the mail spool, crontabs, at jobs, and so on. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message