From owner-freebsd-current@FreeBSD.ORG Fri May 18 08:16:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8DE9106564A for ; Fri, 18 May 2012 08:16:09 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp1.insight.synacor.com [208.47.185.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB638FC0C for ; Fri, 18 May 2012 08:16:09 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=W8bazBKbUPWRxPg5qvtqiKsGwQUK9pcsWEEZ0WuB1rk= c=1 sm=0 a=EOK2rGxD0pkA:10 a=DvSzqBOGy98A:10 a=6I5d2MoRAAAA:8 a=FtVFBvEzhNNAA0Smq28A:9 a=SV7veod9ZcQA:10 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller6727@bellsouth.net; sender-id=neutral Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:45794] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 9C/6F-21342-34506BF4; Fri, 18 May 2012 04:16:03 -0400 Date: Fri, 18 May 2012 04:16:03 -0400 Message-ID: <9C.6F.21342.34506BF4@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-current@freebsd.org References: <20111027102208.88BFB106564A@hub.freebsd.org> <4EAA85FD.1060805@infracaninophile.co.uk> <4EAB5823.5090804@FreeBSD.org> X-Mailman-Approved-At: Fri, 18 May 2012 11:27:29 +0000 Cc: Doug Barton , Matthew Seaman Subject: Re: Upgrade from source to RC1: problems with /etc : lost users and dbus X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2012 08:16:10 -0000 > pwd_mkdb -p /etc/master.passwd Cheers, Matthew > Dr Matthew J Seaman MA, D.Phil. That did it! Now I can login as nonroot and startx. I found pwd_mkdb in my searching, but would not have known to use '-p'. I might have done pwd_mkdb /etc/master.passwd from Doug Barton : > Carefully? :) Seriously ... always use the -P option, and/or add > PRESERVE_FILES in your mergemaster rc file. Watch the changes carefully. > If you have to, do the updates in more than one pass using the -r option > for subsequent runs. Do the simple ones first, then go back and do the > ones that you have to think harder about. I recommend against using the > -U option. > It's not rocket science, it's just like any other system administration > task, it requires careful attention. > Doug That seems like a good idea, using -P option to be able to go back to something good if one screws up. >From 'man mergemaster': The mergemaster utility is a Bourne shell script which is designed to aid you in updating the various configuration and other files associated with FreeBSD. It is HIGHLY recommended that you back up your /etc directory before beginning this process. So I could make a second backup of /etc before the second mergemaster invocation, after installworld. There are lots of files to merge/edit, and one can easily become tired and make mistakes. We're only human and not infallible. Tom