From owner-freebsd-newbies Sun Aug 4 19: 3:22 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 1BD7A37B400 for ; Sun, 4 Aug 2002 19:03:17 -0700 (PDT) Received: from pd3mo2so.prod.shaw.ca (h24-71-223-10.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E58643E6E for ; Sun, 4 Aug 2002 19:03:16 -0700 (PDT) (envelope-from desmond.lee@shaw.ca) Received: from pd6mr2so.prod.shaw.ca (pd6mr2so-qfe3.prod.shaw.ca [10.0.141.217]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H0C002BDLMLYC@l-daemon> for freebsd-newbies@freebsd.org; Sun, 04 Aug 2002 20:01:33 -0600 (MDT) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H0C00AA6LMFND@l-daemon> for freebsd-newbies@freebsd.org; Sun, 04 Aug 2002 20:01:27 -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.6 (built Apr 26 2002)) with SMTP id <0H0C00985LMDBN@l-daemon> for freebsd-newbies@freebsd.org; Sun, 04 Aug 2002 20:01:33 -0600 (MDT) Date: Sun, 04 Aug 2002 19:04:48 -0700 From: Desmond Lee Subject: RE: can no longer log into the machine :( In-reply-to: <200208042034.31096.scott@bsdprophet.org> To: Scott Corey , 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=iso-8859-1 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 Hi scott Thanks for your reply. Sorry about the posting more than once, i didn't have a subject heading in the last message. How do you log into the system in single user mode? In this book i'm using it says to reboot the machine and then press spacebar to interrupt the reboot and then type 'kernel -s', but pressing spacebar during reboot does nothing. Also, once in the single user mode how to you change the password for root? From the info that you've kindly provided below, do i then use mergemaster to merge in changes from /usr/src/etc/group /usr/src/etc/master.passwd to /etc/group /etc/mater.passwd And then i should use mergemaster to merge changes from /usr/src/etc/rc /usr/src/etc/defaults/rc.conf /usr/src/etc/mail to /etc/rc /etc/defaults/rc.conf /etc/mail Then after that i should run the 'make installworld' in the /usr/src directory? Um... i'm not really sure what to do because i've blindly run the mergemaster without thinking and thus the files in the /etc directory are all messed up now. Do you have any suggestions as to how i proceed. I didn't back up the etc files before doign the mergemaster because i didn't know what it really did untill too late. Thanks a lot for your help and patience, and sorry about posting the help request more than once. regards Desmond -----Original Message----- From: owner-freebsd-newbies@freebsd.org [mailto:owner-freebsd-newbies@freebsd.org]On Behalf Of Scott Corey Sent: Sunday, August 04, 2002 6:35 PM To: Desmond Lee; freebsd-questions@freebsd.org; freebsd-newbies@freebsd.org Subject: Re: can no longer log into the machine :( Yup, your totally lost. What you need to do is boot you machine into single user mode. And then when you get the prompt change your password for root. (You changed it when you ran mergemaster and it asked you about the master.passwd file) And before you go any further, I would recommend that this time you read what it says to do in UPDATING. 20020404: Due to the import of sendmail 8.12.2 (see 20020325 entry), a new user and group are required in order for sendmail to run as a set-group-ID binary. A 'make installworld' will use the new user and group to set the owner and group of /var/spool/clientmqueue and will fail if the new user and group do not exist. The 'smmsp' user and group must be merged from src/etc/group and src/etc/master.passwd before using 'make installworld'. 'mergemaster -p' will do this. You may need to install mergemaster before this will work if you are updating from a very old version of stable. This can be done with: cd /usr/src/usr.sbin/mergemaster; make all install [clean] 20020325: sendmail 8.12.2 has been imported. The sendmail binary is no longer a set-user-ID root binary and the infrastructure to support command line mail submission has changed. Be sure to run mergemaster (especially for updating /etc/rc, /etc/defaults/rc.conf, and /etc/mail) and read /etc/mail/README for more details. There was a very big debate on freebsd-questions on this very subject. And posting you questions in newbies will NOT get an answer everytime. And posting more than once will just piss people off. On Sunday 04 August 2002 07:50 pm, 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. > > Thanks > > desmond > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message