From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 05:54:20 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 284F416A4CE for ; Wed, 3 Nov 2004 05:54:20 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id C47CC43D3F for ; Wed, 3 Nov 2004 05:54:19 +0000 (GMT) (envelope-from gsam@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc13) with ESMTP id <20041103055415016000tnk3e>; Wed, 3 Nov 2004 05:54:19 +0000 Received: from [127.0.0.1] (winxp.trini0.org [192.168.0.18]) by hivemind.trini0.org (Postfix) with ESMTP id F118218D for ; Wed, 3 Nov 2004 00:54:14 -0500 (EST) Message-ID: <41887286.1070507@trini0.org> Date: Wed, 03 Nov 2004 00:54:14 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41883BFF.5040000@trini0.org> <418850C5.4060203@trini0.org> In-Reply-To: <418850C5.4060203@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Upgrading 5.2.1 to 5.3R2 (Maybe a problem adding a user) [SOLVED] 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, 03 Nov 2004 05:54:20 -0000 Gerard Samuel wrote: > Gerard Samuel wrote: > >> Ok, so I upgraded, ran mergemaster, and merged /etc/group (and >> /etc/master.passwd I think) via mergemaster. >> I merged those files to retain my non root user account. >> I rebooted, and I haven't been able to log into my non root account. >> I tried to readd the account via adduser, but it says that the user >> already exists. >> So I tried rmuser, and it says that the user doesn't exist. >> So I manually removed the account name from /etc/group, >> /etc/master.passwd, /etc/passwd, >> and tried to add the user, via adduser. >> When it tries to add the user, it fails (dont remember the message >> right now). > > > I tried adding another account on the box, and the Im getting the same > error... > This time I got the error message from adduser > ---- > > OK? (yes/no): yes > pw: user 'test' disappeared during update > adduser: ERROR: There was an error adding user (test). > Add another user? (yes/no): no > ---- > >> Anyone has any suggestions on how I can get the old user account back?? >> N.B. I did back up /etc before mergemaster... >> Thanks > Well I got it working again. Im not sure what fixed it, but I believe running vipw fixed what was wrong with it...