From owner-freebsd-newbies Sun Aug 4 21:57:43 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E68437B400 for ; Sun, 4 Aug 2002 21:57:38 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB4CD43E6A for ; Sun, 4 Aug 2002 21:57:37 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id VAA02741; Sun, 4 Aug 2002 21:57:36 -0700 Message-ID: <3D4E05BF.5070602@owt.com> Date: Sun, 04 Aug 2002 21:57:35 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Desmond Lee Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: can no longer log into the machine :( References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Desmond Lee wrote: > 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? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW > > 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? hehehe. Murphy sure touched your shoulder today. Look at coral# locate master.passwd /etc/master.passwd /etc/upgrade/master.passwd /usr/src/etc/master.passwd One of them has to exist and you could copy it into /etc. Then run vipw and change an unimportant letter that isn't a password. Kent > > 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 > > > . > > -- 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