Date: Mon, 13 Sep 1999 18:21:13 -0700 From: Peter Benjamin <bvirtual@westworld.com> To: Ruslan Ermilov <ru@ucb.crimea.ua> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Migrating passwd from 2.2.X to 3.2 method needed Message-ID: <4.1.19990913182052.03695100@mail.westworld.com> In-Reply-To: <19990914035200.A71293@relay.ucb.crimea.ua> References: <4.1.19990913161909.0365c930@mail.westworld.com> <4.1.19990913161909.0365c930@mail.westworld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <your_master_passwd>' > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990913182052.03695100>