From owner-freebsd-newbies Sun Aug 4 19:38:16 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 4F9C037B405 for ; Sun, 4 Aug 2002 19:38:11 -0700 (PDT) Received: from pd5mo3so.prod.shaw.ca (h24-71-223-10.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5CB443E65 for ; Sun, 4 Aug 2002 19:38:10 -0700 (PDT) (envelope-from desmond.lee@shaw.ca) Received: from pd6mr4so.prod.shaw.ca (pd6mr4so-qfe3.prod.shaw.ca [10.0.141.219]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H0C00FM6NBMRD@l-daemon> for freebsd-newbies@freebsd.org; Sun, 04 Aug 2002 20:38:10 -0600 (MDT) Received: from pn2ml4so.prod.shaw.ca (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H0C00L2INAOKH@l-daemon> for freebsd-newbies@freebsd.org; Sun, 04 Aug 2002 20:37:36 -0600 (MDT) Received: from wetworks (h24-77-108-85.vc.shawcable.net [24.77.108.85]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with SMTP id <0H0C00BHPNBJUV@l-daemon> for freebsd-newbies@FreeBSD.ORG; Sun, 04 Aug 2002 20:38:10 -0600 (MDT) Date: Sun, 04 Aug 2002 19:41:30 -0700 From: Desmond Lee Subject: RE: can no longer log into the machine :( In-reply-to: <3D4DDFB1.5010100@owt.com> To: Kent Stewart Cc: freebsd-newbies@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal 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 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