Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 10:00:44 -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.0704040959490.15464@libra.sfsu.edu>
In-Reply-To: <20070404125452.M18358@fledge.watson.org>
References:  <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <Pine.SOC.4.64.0704040855350.15464@libra.sfsu.edu> <20070404125452.M18358@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.
>



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