From owner-freebsd-newbies@FreeBSD.ORG Wed Dec 15 22:24:18 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7041616A4CE for ; Wed, 15 Dec 2004 22:24:18 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E8443D4C for ; Wed, 15 Dec 2004 22:24:17 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 15 Dec 2004 16:24:38 -0600 Message-ID: <41C0B9A7.4050509@daleco.biz> Date: Wed, 15 Dec 2004 16:24:39 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ptitoliv References: <41C0B337.1070300@frenchsuballiance.cjb.net> In-Reply-To: <41C0B337.1070300@frenchsuballiance.cjb.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Dec 2004 22:24:39.0548 (UTC) FILETIME=[DDDECBC0:01C4E2F4] cc: freebsd-newbies@freebsd.org Subject: Re: mergmaster and /etc/master.passwd X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 22:24:18 -0000 ptitoliv wrote: > Hi everybody, > > I am trying to upgrade my FreeBSD box from 5.2.1 to 5.3. All the > building operations were successful and the kernel installation > too. So following the handbook, i made the mergemaster in order > to merge configurations files. But I have a problem about merging > /etc/master.passwd. I saw that there were new systems accounts > in RELENG_5.3 but I have my propers accounts which I don't want > to loose. So my question is : how to merge correctly and properly > the /etc/master.passwd file. I saw in the help of mergemaster the v > options which allows to include common files but it doesn't seems to > work. > > Does anybody can help me in order to make this merge safely ? > > Thank you for your answers > > Best Regards, > Ptitoliv [BTW, this really belongs on questions@freebsd.org ... ] If in doubt, it's probably best to do the merging by hand. Make a backup of your current passwd file, and edit the passwd file, including the new system accounts in the "temporary" version of master.passwd (which should be under /var/tmp/temproot/etc/). This is essentially what mergemaster does anyway, but it's not automatic and therefore under your control. If you wish to actually use mergemaster to do this, you'll wish to answer "m" (for *merge*) when it asks you what to do for this file. It will then display the two files, yours and the new one, line by line, in a sort of "split screen" mode. Simply answer "r" or "l" to say "use the right hand version of this line" or "use the lefthand version of this line". Since your user accounts aren't in the new default version, you should be able to pick your accounts easily, because you'll have a choice between your account names and some blank lines. But it's still a good idea to have a backup. And be sure and take a look at the finished product before you reboot ;-). HTH, Kevin Kinsey