From owner-freebsd-questions Thu Feb 4 09:15:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18943 for freebsd-questions-outgoing; Thu, 4 Feb 1999 09:15:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA18923 for ; Thu, 4 Feb 1999 09:14:59 -0800 (PST) (envelope-from cjohnson@palomine.net) Received: (qmail 7191 invoked by uid 1000); 4 Feb 1999 17:14:51 -0000 Date: Thu, 4 Feb 1999 12:14:51 -0500 From: Chris Johnson To: Victor Carranza Cc: questions@FreeBSD.ORG Subject: Re: Help migrating from Linux Message-ID: <19990204121451.A7162@palomine.net> References: <36B9C4AC.3D627C1C@BitSmart.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36B9C4AC.3D627C1C@BitSmart.com>; from Victor Carranza on Thu, Feb 04, 1999 at 10:02:52AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 04, 1999 at 10:02:52AM -0600, Victor Carranza wrote: > Hi! > > I am now working for an ISP-like institution. There is a machine here, > running Linux (RedHat 4.2, I think), which has all user accounts and > e-mail services, and I want to upgrade it to FreeBSD (the machine hangs > and crashes frequently). The only problem I have found is that password > files are NOT compatible between the two OS's... > > Is there any way to transparently migrate all users to the new system? I did something similar with a little bit of perl. Parse the Linux password file and pass the appropriate arguments to "pw useradd." You can set the password with "chpass -p." Be sure that you have the DES stuff installed on the FreeBSD box, so that the passwords are compatible. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message