From owner-freebsd-questions Wed Jun 26 20:43:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (115-7-237-24-cable.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 5B56037B400 for ; Wed, 26 Jun 2002 20:39:31 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 7B9492C4; Wed, 26 Jun 2002 19:39:25 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul Reply-To: akbeech@sinbad.net To: Jaime , "Kirk R.Wythers" Subject: Re: 4.5 - >4.6 stable, lost users and passwords Date: Wed, 26 Jun 2002 19:39:24 -0800 X-Mailer: KMail [version 1.3] Cc: freebsd-questions@freebsd.org References: <20020626223956.A4955-100000@malkav.snowmoon.com> In-Reply-To: <20020626223956.A4955-100000@malkav.snowmoon.com> Organization: Sinbad Network Communications MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020627033925.7B9492C4@nebula.anchoragerescue.org> 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 Wednesday 26 June 2002 06:42 pm, Jaime wrote: > On Wed, 26 Jun 2002, Kirk R.Wythers wrote: > > I just did the whole cvsup, make world, mergemaster thing... So far as I > > can tell, all of my user files in ~/ are there (single user workstation), > > but I my username is not recognized, and I can't su to root. If I login > > as root, no password is required. I'm not at the machine in question > > right now, but as I am writing this it seems as if the password file is > > gone (I may have messed up with mergemaster). > > Sounds like your /etc/group and /etc/master.passwd and /etc/passwd > files were replaced with the "new install" defaults. Either (a) repalce > them with your originals from some backups and read /usr/src/UPDATING very > closely for entries replating to the sendmail changes or just login as > root, use passwd to set a new root password, add your own account to > /etc/group in the line that begins with "wheel", use adduser to re-create > your account, etc. > > Good luck, > Jaime > Copy /var/backups/master.passwd.bak to /etc/master.passwd Copy /var/backups/group.bak to /etc/group run pwd_mkdb You should be back in business. Beech -- ------------------------------------------------------------------- Beech Rintoul - SysAdmin - akbeech@sinbad.net /"\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message