From owner-freebsd-questions Mon Sep 13 18:30: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wgn.net (mail.wgn.net [207.213.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 7AD4014A2E for ; Mon, 13 Sep 1999 18:29:56 -0700 (PDT) (envelope-from bvirtual@westworld.com) Received: from bvirtueserve (du554-pcap-nca01.wgn.net [207.213.7.46]) by mail.wgn.net (8.9.1/8.9.0) with SMTP id RAA27836; Mon, 13 Sep 1999 17:24:15 -0700 Message-Id: <4.1.19990913182052.03695100@mail.westworld.com> X-Sender: bvirtual@mail.westworld.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 13 Sep 1999 18:21:13 -0700 To: Ruslan Ermilov From: Peter Benjamin Subject: Re: Migrating passwd from 2.2.X to 3.2 method needed Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19990914035200.A71293@relay.ucb.crimea.ua> References: <4.1.19990913161909.0365c930@mail.westworld.com> <4.1.19990913161909.0365c930@mail.westworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks. It is working now. Pete At 05:52 PM 9/13/99 , Ruslan Ermilov wrote: >On Mon, Sep 13, 1999 at 05:31:45PM -0700, Peter Benjamin wrote: >> >> Hi, >> >> I'm trying to upgrade to FreeBSD 3.2 by installing it from scratch >> onto a new system. That worked fine. The old FreeBSD 2.2.7 box >> has 20+ userid accounts and passwords I wish to have on the new >> box. Simply copying the /etc files over is not working. >> >> /etc/passwd >> /etc/group >> /etc/master.passwd >> /etc/spwd.db >> >> Is there an easy way to migrate the accounts from the FreeBSD >> 2.2.7 box to the FreeBSD 3.2 box? >> >1) Merge your saved /etc/group and /etc/master.passwd with ones > in /usr/src/etc. >2) Run `pwd_mkdb -p ' > >> The pwd_mkdb command seems to have failed me as well. >> Perhaps the master.passwd file format is different between >> 2.2.X and 3.2? >> >No, just some system UIDs were added. >What does `pwd_mkdb -C /etc/master.passwd' tell? > >-- >Ruslan Ermilov Sysadmin and DBA of the >ru@ucb.crimea.ua United Commercial Bank, >ru@FreeBSD.org FreeBSD committer, >+380.652.247.647 Simferopol, Ukraine > >http://www.FreeBSD.org The Power To Serve >http://www.oracle.com Enabling The Information Age Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message