Date: Fri, 2 Aug 2002 11:11:02 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: dan037@yahoo.com (Mr Dan Peck) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: RedHat to FreeBSD Migration Message-ID: <200208021511.g72FB2T15847@clunix.cl.msu.edu> In-Reply-To: <20020802013803.26506.qmail@web40016.mail.yahoo.com> from "Mr Dan Peck" at Aug 01, 2002 06:38:03 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hello List, > > I've been tasked with upgrading a server with > approximately 5,000 users (at a small ISP). The > current server runs RedHat 6.2, and I would prefer to > run FreeBSD 4.6.1 on the new one, but would need to be > able to copy the password and group files from the > RedHat box as we don't have the resources to re-enter > all of the users by hand. Any information on > migrating the passwd/and group files would be very > helpful. I'm not currently subscribed to the list, so > please CC: your responses to me. Thanks! You should be able to copy over the group file pretty much as is. Just make sure there are no conflicts or overlaps eg two different groups using the same GID or two groups of the same name with different GIDs. For the passwd file, probably the easiest thing is to create a little perl script that reads the shadow passwd file from the LINUX machine and creates and executes adduser(8) commands on the FreeBSD machine for each entry. That way all of the passwd, master.passwd and password database files will get updated correctly. Make sure and throw away all the entries on the old machine that shouldn't be transferred, such as root and ftp, etc. ////jerry > > -Dan > dan037@yahoo.com > > 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?200208021511.g72FB2T15847>