Re: Cannot login to root account on FreeBSD 7.0



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.

Regards,
Pramod Dematagoda

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SUMARY: Cant login as root
    ... As a result, i was not able to log in as root, neither create a new ... Asunto: RE: Can't login as root ... > console. ... > If we log as any other user everythig is ok, but we cannot either do su-. ...
    (Tru64-UNIX-Managers)
  • Re: password
    ... To log in as root, ... >> hello ive got a problem login to freebsd. ... passwd: updating the database... ...
    (freebsd-questions)
  • RE: Urgent help needed with Login problems after installation of FC1
    ... symptom trying to su back to root. ... After another minimal install, I was able to add my user and su to it and su ... I was unable to boot using the boot floppy. ... I did a minimal install and was able to login as root, ...
    (Fedora)
  • Re: BSM, SSH, and Session ID
    ... Are you logging in as root through ssh or is that just the way it is ... Sun SSH/OpenSSH should fork off before the login because the sshd ... It should always be a different session, ...
    (Focus-SUN)
  • Re: Urgent help needed with Login problems after installation of FC1
    ... login would do anything but loop back to the Login: ... >From Gnome desktop, I was able to logout user, login root, over and ... Am able to boot from floppy. ... >After another minimal install, I was able to add my user and su to ...
    (Fedora)