From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 02:02:42 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 8858E37B401 for ; Mon, 28 Apr 2003 02:02:42 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0144243FB1 for ; Mon, 28 Apr 2003 02:02:42 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (203.134.133.30) by smtp02.syd.iprimus.net.au (7.0.012) id 3E8A1600004BA95A; Mon, 28 Apr 2003 19:02:28 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id 5519BC90D; Mon, 28 Apr 2003 19:02:09 +1000 (EST) Date: Mon, 28 Apr 2003 19:02:09 +1000 From: Tim Robbins To: Vallo Kallaste Message-ID: <20030428190209.A21656@dilbert.robbins.dropbear.id.au> References: <20030428075916.GA53857@myhakas.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030428075916.GA53857@myhakas.internal>; from vallo@estcard.ee on Mon, Apr 28, 2003 at 10:59:16AM +0300 cc: freebsd-current@freebsd.org Subject: Re: Somethings still up with new NSS? 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: Mon, 28 Apr 2003 09:02:43 -0000 On Mon, Apr 28, 2003 at 10:59:16AM +0300, Vallo Kallaste wrote: > Hi > > Some moments ago "lost" all the users on my remote home system. Not > a big problem, but here's what I did. Sources (and world) are from > Apr 26. Seems like a problem with new ondisk format of spwd.db or > similar. > Sequence which broke: > logged on remotely > su to root, changed inetd.conf file to enable ftpd, killall -HUP > inetd > back to normal user, changed my password with passwd(1) > tried to connect to ftpd, no luck > As I had ssh session still up, looked into logfiles and found that > root user does not exist, hmm.. tried to su -, same story, tried su > to normal user.. you got the idea. I had this happen to me. In my case, I changed my shell, logged out, then tried to log back in again. The console showed that sshd couldn't find my account, and I don't think it couldn find the privsep account either. I could not log in as root at the console either. I fixed the problem by booting single-user and re-running pwd_mkdb. The entries in master.passwd and passwd were correct, but I think that for some reason they weren't being read correctly from the database. Tim