Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 10:06:14 -0700 (PDT)
From:      KAYVEN  RIESE <kayve@sfsu.edu>
To:        doug@safeport.com
Cc:        stable@freebsd.org
Subject:   Re: single user mode buildwerld failures
Message-ID:  <Pine.SOC.4.64.0704041006060.15464@libra.sfsu.edu>
In-Reply-To: <Pine.SOC.4.64.0704040959490.15464@libra.sfsu.edu>
References:  <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <Pine.SOC.4.64.0704040855350.15464@libra.sfsu.edu> <20070404125452.M18358@fledge.watson.org> <Pine.SOC.4.64.0704040959490.15464@libra.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
there were so many steps they didn't seem obvious.. i got halfway thru and 
realized i
was in some prompt for mergemaster -p, or so i thought, so i started over. 
i had no
idea what was happening.  i can't log on now.
/etc/passwd is gone.  i used a freeBSD disk that is certainly old to go to 
a fixit shell but i didn't
know what to do.  i can go back to the fixit shell if somebody tells me 
what to do but i have
to *#@&ing walk over to kinkos now to get on the internet.

On Wed, 4 Apr 2007, KAYVEN  RIESE wrote:

>
> i don't know what all the prompts where because i was in single user mode.
> i need diagnostic advice
>
> There should be a backup of your old /etc dir here:
>
> /var/tmp/etc
>
> Boot in single user mode, do a
> mount -a
>
> and copy the backup passwd file to /etc
>
>
> This should enable you to login again. There is a but...
>
> There might have been changes made during the buildworld process, obviously, 
> those are missing in the backup file. Make sure all your programs are running 
> as expected...
>
> i found a passwd file in /var/tmp/etc and moved it to what i thought should 
> be the correct place,
> but i still couldn't log in
>
> On Wed, 4 Apr 2007, doug wrote:
>
>> On Wed, 4 Apr 2007, KAYVEN RIESE wrote:
>> 
>>> 
>>> i didn't know what was happening when i dropped to single user
>>> mode i got all these different prompts and i didn't know how
>>> to answer the questions.  i have posted information on
>>> experts exchange:
>>> 
>>> http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/Q_22484972.html
>>> 
>>> http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/Q_22483843.html
>>> 
>>> http://www.experts-exchange.com/Software/System_Utilities/Diagnostics/Q_22470294.html
>>> 
>>> currently, i feel i have found my /etc/passwd and restored it to the
>>> proper location, but i still can't log on to my computer
>>> _______________________________________________
>> Post what happened here.
>> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOC.4.64.0704041006060.15464>