Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2002 19:04:48 -0700
From:      Desmond Lee <desmond.lee@shaw.ca>
To:        Scott Corey <scott@bsdprophet.org>, freebsd-newbies@freebsd.org
Subject:   RE: can no longer log into the machine :(
Message-ID:  <CMEMLGKEKMLLFOICILNMIEFICBAA.desmond.lee@shaw.ca>
In-Reply-To: <200208042034.31096.scott@bsdprophet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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