Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 19:35:15 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Mark <mw@lanfear.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying users
Message-ID:  <20010830193515.A26392@student.uu.se>
In-Reply-To: <000a01c13177$5c05d580$0200000a@redmond.corp.microsoft.com>
References:  <000a01c13177$5c05d580$0200000a@redmond.corp.microsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 30, 2001 at 10:15:25AM -0700, Mark wrote:
> 
> 
> Hello!
> 
> 	I'm trying to copy users from one FreeBSD server running 3.4 to
> another running 4.3.  
> 
> 	Just copying the lines from /etc/passwd and /etc/master.passwd
> seems to set everything up correctly -- except for passwords -- I can
> never get the old one to work on the new machine.
> 
> 	can this be done, or has the format changed, and I'm just
> screwed?
> 
> 	thanks,
> 	mark.

You probably forgot to rebuild the .db files from which the information
is actually taken.

Solution: Use vipw(8) to edit /etc/master.passwd.
vipw will automatically rebuild all the other files when you are
finished.




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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