From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 04:30:37 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 76C811065673 for ; Wed, 21 Jan 2009 04:30:37 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 42E1C8FC24 for ; Wed, 21 Jan 2009 04:30:37 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1970286wag.27 for ; Tue, 20 Jan 2009 20:30:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TOeVBOdarAjXYM1lrI3D/rXdoGxVkLZtkEldWfY0mkY=; b=Ij3Z7hydD7sH1C+oD+5ts6UOVcYxpXy5lm6uWOHgYmCfetT/v0tcSY+q8TwmCw+m3F Z/c5kn5Yflrh5sazC09ZkFJgJ1SG1tbDsCR+xkd9uR9JK4ZfyM1kbFQZVKFh3kxpdKQE bAuxotJOBGuI00iUD78tVgRChludXLevpFJvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KLUYijDeiYnac/Xqk9ehdZCPhycSoZWbvFASl7s9+ubIziVOfmSgfev7aJq8KppteX 3L9n7ECTGqwgonOEFvfT3j9Hr17Uv3bFq616I7xlDr0uVciX/GjSKa/Y7Wy7xlCaa7VO lRfj54CYAI4XnyJZO4eH3Dox693wzMWhZ56gU= Received: by 10.114.89.1 with SMTP id m1mr409004wab.35.1232512236822; Tue, 20 Jan 2009 20:30:36 -0800 (PST) Received: from ?192.168.4.44? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id m26sm10910075pof.4.2009.01.20.20.30.34 (version=SSLv3 cipher=RC4-MD5); Tue, 20 Jan 2009 20:30:35 -0800 (PST) Message-ID: <4976A4DE.2060009@gmail.com> Date: Tue, 20 Jan 2009 21:30:22 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Bert-Jan References: <47622685@ipt.ru> <06bb5927cefec26ba5797915637b8a95.squirrel@admin.bert-jan.com> In-Reply-To: <06bb5927cefec26ba5797915637b8a95.squirrel@admin.bert-jan.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Boris Samorodov , 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: Wed, 21 Jan 2009 04:30:37 -0000 Bert-Jan wrote: >> "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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Might I add the tempting and tendancy to change root's shell to a non-base shell. While you're in single user, use a base shell if you're using non-base (ahem! bash users) --Tim