From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 09:25:27 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 E310F16A4CE for ; Wed, 3 Nov 2004 09:25:27 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C65C43D1D for ; Wed, 3 Nov 2004 09:25:27 +0000 (GMT) (envelope-from nlamprecht@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so131381wri for ; Wed, 03 Nov 2004 01:25:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=fqYs1T1uTMyd3/z66EWDPahHPD6zxVTbCxJxhQK6JdXEND+V+pnL5ZGuvO+83M6LS7gG5ue9EWSr5sL7BfKlGRGKhEEolaQ+d29aJWNcREwUmARd1hpeUr75yEqdTOW+YFMLt1UpYne5fmjAhkoDjiu+bE0LiwERMK+FN6ftE28= Received: by 10.54.33.47 with SMTP id g47mr123680wrg; Wed, 03 Nov 2004 01:25:27 -0800 (PST) Received: by 10.54.38.55 with HTTP; Wed, 3 Nov 2004 01:25:26 -0800 (PST) Message-ID: <7cbadc8704110301256f063260@mail.gmail.com> Date: Wed, 3 Nov 2004 11:25:26 +0200 From: Nelis Lamprecht To: Gerard Samuel In-Reply-To: <41883BFF.5040000@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41883BFF.5040000@trini0.org> cc: FreeBSD Questions Subject: Re: Upgrading 5.2.1 to 5.3R2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nelis Lamprecht List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 09:25:28 -0000 On Tue, 02 Nov 2004 21:01:35 -0500, 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). > Anyone has any suggestions on how I can get the old user account back?? > N.B. I did back up /etc before mergemaster... > Thanks What is the result of pwd_mkdb -C /etc/master.passwd ? Perhaps copy your backup copy of master.passwd and then regenerate your passwd file via pwd_mkdb -p See pwd_mkdb(8) for more info Nelis