From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 15:00:22 2008 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 BB49F1065688; Fri, 31 Oct 2008 15:00:22 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 84FEB8FC20; Fri, 31 Oct 2008 15:00:22 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id A7EAAAFCF5B; Fri, 31 Oct 2008 07:00:21 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 31 Oct 2008 16:00:19 +0100 User-Agent: KMail/1.9.7 References: <1225459744.3714.10.camel@pramod-laptop.fednet> <20081031140946.GA33710@icarus.home.lan> <1225464803.8828.2.camel@pramod-laptop.fednet> In-Reply-To: <1225464803.8828.2.camel@pramod-laptop.fednet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810311600.20023.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , Pramod Dematagoda Subject: Re: Cannot login to root account on FreeBSD 7.0 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: Fri, 31 Oct 2008 15:00:22 -0000 On Friday 31 October 2008 15:53:23 Pramod Dematagoda wrote: > On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > > > But now I've faced a big problem, I can no longer seem to login to the > > > root account where whenever I supply the proper credentials to the > > > login screen, I always get thrown back to the login screen. This > > > started happening after I installed D-bus and HAL through the FreeBSD > > > ports which were built upon Xorg 1.5.1 which I had built myself > > > previously, so I am wondering if something I did may have caused the > > > problem. > > > > Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to > > boot into single-user mode. Once there, do: > > > > # mount -a > > # mount -o rw -u / > > # passwd root > > > > And change the password. "reboot" and you should be good to go. > > Hey Jeremy, > > Thanks for looking into the problem, but unfortunately your solution did > not work, I changed the root password to something else, however I still > cannot login to root once I boot FreeBSD normally. There should be in indication in /var/log/messages or /var/log/auth.log. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.