From owner-freebsd-current@FreeBSD.ORG Sat May 3 17:49:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4487237B401 for ; Sat, 3 May 2003 17:49:43 -0700 (PDT) Received: from ms-smtp-02.nyroc.rr.com (ms-smtp-02.nyroc.rr.com [24.92.226.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BC8243F93 for ; Sat, 3 May 2003 17:49:42 -0700 (PDT) (envelope-from tparquet@twcny.rr.com) Received: from twcny.rr.com (syr-66-24-56-65.twcny.rr.com [66.24.56.65]) h440ndpo014942; Sat, 3 May 2003 20:49:41 -0400 (EDT) Message-ID: <3EB4639E.5030904@twcny.rr.com> Date: Sat, 03 May 2003 20:49:34 -0400 From: Tom Parquette User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: System cannot find user IDs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 00:49:43 -0000 Please CC me on any replies. I'm on my wife's machine writing this and I can't get to my mornal MUA. I've been working on setting up MySQL and I have been having problems with the MySQL root user. Thinking I might have changed the user to upper case when I changed it from root (based on a best practices article from onlamp.com) I added the MySQL admin id in upper case. I got a message that the user id had disappeared during the add. (I've never seen this message before.) I'm assuming it came out of the adduser command. I tried to remove the ID and I started getting messages from various places complaining about user IDs. Thinking something might be out of sync, I rebooted. (Appears to be a very bad idea in hind sight.) It seems like every daemon complains at boot that it cannot find one user id or another. I also cannot sign on to the machine. I was able to get into the machine in single user mode. I took a recent backup I made of ad0s1a to another machine, untared it, copied passwd and master.passwd to a floppy and restored them to the failing machine. The reboot after restoring passwd and master.passwd gave me the same results. I can still get on the machine in single user mode. The FreeBSD Handbook didn't help me much so I looked at Greg L's The Complete FreeBSD and he talks about some db files (/etc/pwd.db and /etc/spwd.db) on the bottom of page 163. After reading that and some hits searching the questions list I decided it was time to ask for help. I'm in way over my head this time! I'm not sure how to dig myself out of this. TIA.