Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 07:09:46 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Pramod Dematagoda <pmd.lotr.gandalf@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot login to root account on FreeBSD 7.0
Message-ID:  <20081031140946.GA33710@icarus.home.lan>
In-Reply-To: <1225459744.3714.10.camel@pramod-laptop.fednet>
References:  <1225459744.3714.10.camel@pramod-laptop.fednet>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081031140946.GA33710>