From owner-freebsd-questions Sun Aug 4 19:15:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE8B37B400; Sun, 4 Aug 2002 19:15:16 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD98F43E5E; Sun, 4 Aug 2002 19:15:15 -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 TAA27187; Sun, 4 Aug 2002 19:15:14 -0700 Message-ID: <3D4DDFB1.5010100@owt.com> Date: Sun, 04 Aug 2002 19:15:13 -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-questions@FreeBSD.ORG, 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-questions@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: > Hi there > > I had free bsd 4.4 and was trying to update to 4.6. So, i'm following the > instructions of my freebsd book, and got past the 'make kernel > KERNCONF=MYKERN' command. Then rebooted the machine and then typed 'cd > /usr/src'. Then i tried to execute 'make installworld', but it couldn't > execute and said something was wrong with smmsp and to look in the UPDATING > file. > > So i looked into the UPDATING file and looked for smmsp. It gave some > suggestions indicating that i have to execute 'megemaster -p'. So that's > what i did and i didn't really understand what was going on, but i tried to > merge in differences from different files. > > I then rebooted, and now i can't log into my machine under root or any other > user. > > Can someone please help. I'm totally lost here. 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-questions" in the body of the message