From owner-freebsd-isp Thu Jan 15 08:29:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07627 for freebsd-isp-outgoing; Thu, 15 Jan 1998 08:29:42 -0800 (PST) (envelope-from owner-freebsd-freebsd-isp@FreeBSD.ORG) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07598 for ; Thu, 15 Jan 1998 08:29:27 -0800 (PST) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id DAA27724; Fri, 16 Jan 1998 03:29:07 +1100 (EST) Date: Fri, 16 Jan 1998 03:29:07 +1100 (EST) From: "Daniel O'Callaghan" To: Nicholas Merrill cc: freebsd-isp@FreeBSD.ORG Subject: Re: Moving from Linux to FreeBSD In-Reply-To: <199801151616.IAA06218@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 15 Jan 1998, Nicholas Merrill wrote: > At 04:09 PM 1/15/98 +0100, you wrote: > >I'm going to upgrade our mail/www-server. It's now running a very old > >version of Linux, and on the new server I want to run FreeBSD. My > >question is if there is an easy way of moving the user accounts from Linux > >to FreeBSD? Can I just copy the password file and home directory? Or is > >there some other way to do this? Any other things I should have in mind > >when doing this? > > Someone correct me if I am wrong but I believe the trick to that is to > use the DES crypto libraries. > > But I guess you can't do that from .se? Get the crypto libraries from ftp.internat.freebsd.org. You'll need to write a little perl script which takes the Linux passwd file and shadow file, and creates a master.passwd file for FreeBSD. When master.passwd has been created, cd /etc ; /usr/sbin/pwd_mkdb -p master.passwd Then just tar up the user homedirs and untar them on the new machine. Danny