From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 12:08:25 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 DC24516A452 for ; Wed, 6 Jul 2005 12:08:25 +0000 (GMT) (envelope-from mike@hyperreal.org) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E7D543D45 for ; Wed, 6 Jul 2005 12:08:25 +0000 (GMT) (envelope-from mike@hyperreal.org) Received: (qmail 37141 invoked by uid 1001); 6 Jul 2005 12:08:25 -0000 Message-ID: <20050706120825.37140.qmail@hyperreal.org> In-Reply-To: <7cbadc870507060437193ae5f4@mail.gmail.com> To: Nelis Lamprecht Date: Wed, 6 Jul 2005 05:08:25 -0700 (PDT) Sender: mike@hyperreal.org From: Mike Brown X-Whoa: whoa. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 12:08:26 -0000 Nelis Lamprecht wrote: > To answer my own posting. Simply copy(keeping correct permissions) > /etc/passwd, /etc/master.passwd and /etc/group to the new system > making sure you have a backup of the original if anything goes wrong. > Then run pwd_mkdb -p /etc/passwd which will update /etc/pwd.db, > spwd.db. I then rsync'ed all home directories and all is well. I would add (as this just came up with one of my users today) that you will probably also want to copy /var/cron/tabs to the new system, lest everyone lose their crontabs.