From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 20:13:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6951A16A4C1 for ; Mon, 9 Jul 2007 20:13:47 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9B113C458 for ; Mon, 9 Jul 2007 20:13:47 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l69KDcpT014233; Mon, 9 Jul 2007 16:13:39 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Mon, 9 Jul 2007 16:13:11 -0400 User-Agent: KMail/1.9.7 References: <3A85D7EF44E1C744BF6434691F5659E9702CFD@www.fcimail.org> In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9702CFD@www.fcimail.org> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707091613.12181.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Jean-Paul Natola Subject: Re: password failure- after mergmaster 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: Mon, 09 Jul 2007 20:13:47 -0000 On Monday 09 July 2007 04:06:01 pm Jean-Paul Natola wrote: > OOOPSS- > > I got mergemaster to run- but now that the system restarted the root > password and my password are invalid- > > I can ONLY start in single user mode- > > I still do have level 0 dump of 5.4 on my network is this my only option > ? It's always wise to back up /etc before running mergemaster to cover just t= his=20 type of mistake. In this case I'm guessing you replaced=20 your /etc/master.passwd with the default one. =46rom single-user mode, set the root password using the "passwd" utility. You will probably need to re-add your user account and any others that aren= 't=20 part of the system default. I would grab /etc/master.passwd from your backu= p=20 and do a line-by-line comparison with the file currently installed on your= =20 system. When re-adding users, be sure to use the same UID's and GID's so th= at=20 file permissions will be correct. See man pw for details. Alternatively, you could replace /etc/master.passwd with the copy from your= =20 backup and run mergemaster again. This time pay attention and actually merg= e=20 the file. JN