Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2002 19:41:30 -0700
From:      Desmond Lee <desmond.lee@shaw.ca>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   RE: can no longer log into the machine :(
Message-ID:  <CMEMLGKEKMLLFOICILNMIEFMCBAA.desmond.lee@shaw.ca>
In-Reply-To: <3D4DDFB1.5010100@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks kent

Just wondering, i'm assuming that you are referring to the free bsd
handbook, but i can't seem to find a section 10.14 in the online version:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. Are
you looking at a newer more upto date version of the handbook or am i just
not looking hard enough?

I've tried your instrcutions, but when i run 'passwd root' it says 'passwd:
unknown user root'. I guess i really messed up some files. Do you have any
suggestions?

Thanks for everything

Desmond


You can always change the password from single user mode. The section
in the Handbook on you have forgotten your password applies here. The
section is

10.14. I have forgotten the root password! What do I do?

Do not Panic! Simply restart the system, type boot -s at the Boot:
prompt (just -s for FreeBSD releases before 3.2) to enter Single User
mode. At the question about the shell to use, hit ENTER. You will be
dropped to a # prompt. Enter mount -u / to remount your root
filesystem read/write, then run mount -a to remount all the
filesystems. Run passwd root to change the root password then run
exit(1) to continue booting.


Then, next time you run mergemaster, don't let it touch your
master.passwd or group with out thinking about what it will do to you.
You have already seen that and once is enough :).

Kent


>
> Thanks
>
> desmond
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
> .
>
>


--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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