From owner-freebsd-questions@FreeBSD.ORG Tue Jan 20 13:15:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94E7E1065675 for ; Tue, 20 Jan 2009 13:15:10 +0000 (UTC) (envelope-from info@bert-jan.com) Received: from bert-jan.com (bert-jan.com [81.23.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB3F8FC0C for ; Tue, 20 Jan 2009 13:15:09 +0000 (UTC) (envelope-from info@bert-jan.com) Received: (qmail 11447 invoked by uid 99); 20 Jan 2009 14:15:08 +0100 Received: from static.kpn.net ([194.123.221.29]) (SquirrelMail authenticated user postmaster@bert-jan.com) by admin.bert-jan.com with HTTP; Tue, 20 Jan 2009 14:15:08 +0100 (CET) Message-ID: <06bb5927cefec26ba5797915637b8a95.squirrel@admin.bert-jan.com> In-Reply-To: <47622685@ipt.ru> References: <47622685@ipt.ru> Date: Tue, 20 Jan 2009 14:15:08 +0100 (CET) From: "Bert-Jan" To: "Boris Samorodov" User-Agent: SquirrelMail/1.4.16 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Roy Stuivenberg , freebsd-questions@freebsd.org Subject: Re: unable to logon after updating ports collection - Freebsd 7.1 stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 13:15:11 -0000 > "Roy Stuivenberg" writes: > >> After I completed my Freebsd 7.1 stable, and updated all the ports, I >> got >> prompted with another logonscreen. >> Whatever I try, I can't login with my useraccount and even not logon as >> root. >> This happened severall times now, the only way was to reinstall >> everything, >> and I was hoping to resolve this by completly finish upgrading the >> ports. >> And .. again the same problem. >> I'm really hoping to get some answers that will solve this problem, >> maybe >> someone had to deal with this issue before ?? >> I will not give up, because Freebsd stole my heart. > > The problem has nothing to do with ports. To restore your root/user > logins: > . boot into single user mode; > . set a new root password; > . set a new user password; > . boot into multiuser mode; > . login and have fun. > > > WBR > -- > bsam > _______________________________________________ I've had the same thing happen to me not 2 weeks ago after upgrading a server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem had nothing to do with ports but with the update itself, because it replaced my pwd.db and spwd.db with the default ones (root with no password, no user accounts) and since ssh doesn't accept root logins I ended up going to the datacenter and copying the backups of those db's back. Then everything was fine again. Very strange they got replaced though.. Sounds like you've had something similar happen to you. Hopefully your machine isn't too far away. Bert-Jan