From owner-freebsd-current@FreeBSD.ORG Sat Oct 29 05:34:28 2011 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 755F6106566B; Sat, 29 Oct 2011 05:34:28 +0000 (UTC) (envelope-from mueller6727@bellsouth.net) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [207.115.11.54]) by mx1.freebsd.org (Postfix) with ESMTP id 601738FC0C; Sat, 29 Oct 2011 05:34:28 +0000 (UTC) Date: Sat, 29 Oct 2011 05:29:02 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (adsl-68-18-111-140.sdf.bellsouth.net[68.18.111.140]) by isp.att.net (frfwmhc04) with SMTP id <20111029052900H0400ir9roe>; Sat, 29 Oct 2011 05:29:01 +0000 X-Originating-IP: [68.18.111.140] From: "Thomas Mueller" To: freebsd-current@freebsd.org References: <20111027102208.88BFB106564A@hub.freebsd.org> <4EAA85FD.1060805@infracaninophile.co.uk> <4EAB5823.5090804@FreeBSD.org> Message-Id: <20111029053428.755F6106566B@hub.freebsd.org> 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: Sat, 29 Oct 2011 05:34:28 -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