From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 13:21:32 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB43016A41C for ; Wed, 6 Jul 2005 13:21:32 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70B0643D53 for ; Wed, 6 Jul 2005 13:21:32 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 11320 invoked from network); 6 Jul 2005 13:21:31 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2005 13:21:31 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8B10F2E; Wed, 6 Jul 2005 09:21:30 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Nelis Lamprecht References: <7cbadc870507050726369edadd@mail.gmail.com> <44zmt12dbh.fsf@be-well.ilk.org> <7cbadc87050705233437c2206@mail.gmail.com> From: Lowell Gilbert Date: 06 Jul 2005 09:21:30 -0400 In-Reply-To: <7cbadc87050705233437c2206@mail.gmail.com> Message-ID: <44hdf8vzmt.fsf@be-well.ilk.org> Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Procedure for migrating user accounts to new system ? 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: Wed, 06 Jul 2005 13:21:32 -0000 Nelis Lamprecht writes: > On 05 Jul 2005 16:44:02 -0400, Lowell Gilbert > wrote: > > Nelis Lamprecht writes: > > > > > What is the correct procedure to follow for migrating user accounts > > > from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're > > > sticking to 4.x due to legacy issues(Netware) in case I get asked. > > > Didn't see answer to this in the FAQ's or Handbook and google answers > > > seem sketchy. > > > > The FAQ entry titled "How do I move my system over to my huge new > > disk?" should be apropos. > > > > Unfortunately it doesn't. I specifically said "user accounts" because > that's the only thing I want to move over to the new system. Using > dump and restore wouldn't be applicable in this scenario as many > things in the file systems are different. I was thinking more along > the lines of copying over the password files and using pwd_mkdb to > rebuild the db's but wasn't entirely sure about the whole process. For > the home directories I'm just using rsync to copy over the data to the > new system. Okay, that's a little more information, so we're starting to get a better picture. In addition to home directories and passwords, you will need to move over the group file. You will probably also need to move the mail spools, user crontabs, and "at" jobs. You probably have local configuration for applications installed on the system, so you will need that too. And anything that you allow users to write to as local policy. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/