From owner-freebsd-questions Thu Aug 30 10:36:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by hub.freebsd.org (Postfix) with ESMTP id 1F48B37B405 for ; Thu, 30 Aug 2001 10:36:07 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maila.telia.com (8.11.2/8.11.0) with ESMTP id f7UHZYX27645 for ; Thu, 30 Aug 2001 19:35:34 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id TAA10972 for ; Thu, 30 Aug 2001 19:35:33 +0200 (CEST) Received: (qmail 26441 invoked by uid 1001); 30 Aug 2001 17:35:15 -0000 Date: Thu, 30 Aug 2001 19:35:15 +0200 From: Erik Trulsson To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: Copying users Message-ID: <20010830193515.A26392@student.uu.se> Mail-Followup-To: Mark , freebsd-questions@freebsd.org References: <000a01c13177$5c05d580$0200000a@redmond.corp.microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c13177$5c05d580$0200000a@redmond.corp.microsoft.com> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message