Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 1998 03:29:07 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Nicholas Merrill <nick@calyx.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Moving from Linux to FreeBSD
Message-ID:  <Pine.BSF.3.91.980116032700.28150b-100000@panda.hilink.com.au>
In-Reply-To: <199801151616.IAA06218@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980116032700.28150b-100000>