Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 17:27:16 +0100
From:      Vince <jhary@unsane.co.uk>
To:        Tim DeBoer <tdeboer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Questions about passwd files
Message-ID:  <46EEAAE4.6000803@unsane.co.uk>
In-Reply-To: <f5fb6600709170834t205541f6m637c1598b7a5ec10@mail.gmail.com>
References:  <f5fb6600709170834t205541f6m637c1598b7a5ec10@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim DeBoer wrote:
> Hi everyone,
> I'm building a new FreeBSD 6.2-RELEASE system, and I need to move a
> ton of users from the old FreeBSD 4.8-RELEASE system.
> 
> I was hoping it would be as easy as copying the master.passwd, passwd,
> and group files to the new box and rebooting, but No. It's not.
> 
> Is there a way to "migrate" users from the old box to the new one?
> I don't care so much about migrating all their home directory contents
> or mail, I just want a method to add all the old users & passwords and
> groups to the new machine, and create the user directories in a batch
> operation.
> 
> 
> Thanks!
> 
You did run pwd_mkdb after moving the master.passwd file didnt you ?
(see pwd_mkdb(8))


Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46EEAAE4.6000803>