From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 13:39:59 2004 Return-Path: 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 D63D716A4CE for ; Wed, 25 Feb 2004 13:39:59 -0800 (PST) Received: from clanbuckbuck.org (c-24-17-98-189.client.comcast.net [24.17.98.189]) by mx1.FreeBSD.org (Postfix) with SMTP id 856A043D1D for ; Wed, 25 Feb 2004 13:39:59 -0800 (PST) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 90814 invoked from network); 25 Feb 2004 21:39:58 -0000 Received: from unknown (HELO RYALLS1) (207.46.238.137) by c-24-17-98-189.client.comcast.net with SMTP; 25 Feb 2004 21:39:58 -0000 From: "Derrick Ryalls" To: =?iso-8859-1?Q?'Luis_Guzm=E1n'?= , "'freebsd-questions'" Date: Wed, 25 Feb 2004 13:39:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <015c01c3fbe6$9ec33930$0401a8c0@copernico> Importance: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: RE: Problems after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 21:40:00 -0000 > I upgraded my server from FreeBSD 4.6.2 to version 4.8. After=20 > this, my passwd file was empty and my master.passwd was gone!=20 > I have a backup of these files and now I need to rebuild my=20 > users database. Is there a way to do this from my old files?=20 > I also need them for my SMB network. >=20 Sounds like a mergemaster gone bad. If you have a backup as you say you = do, I think you just need to merge the two files together into the new file. = I say merge because going from 4.6.2 to 4.8, a couple system entries were added to the password file. Easiest way would probably be to copy the = new lines from the new/blank password file to a copy of your backed up = password file via vipw, then mv your manually merged file into the normal system location. Good luck.