From owner-freebsd-questions Tue Mar 19 21:13:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pianosa.catch22.org (pianosa.catch22.org [64.81.48.19]) by hub.freebsd.org (Postfix) with ESMTP id B327137B405 for ; Tue, 19 Mar 2002 21:13:12 -0800 (PST) Received: by pianosa.catch22.org (Postfix, from userid 1006) id 55B0320F; Tue, 19 Mar 2002 21:13:12 -0800 (PST) Date: Tue, 19 Mar 2002 21:13:12 -0800 From: Danny Howard To: Shaun Cc: freebsd-questions@freebsd.org Subject: Re: Migrating User Accounts from Linux to FreeBSD Message-ID: <20020319211311.A11019@pianosa.catch22.org> References: <5.1.0.14.0.20020319173622.00a32130@ncweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.0.20020319173622.00a32130@ncweb.com>; from senmonk@ncweb.com on Tue, Mar 19, 2002 at 05:41:33PM -0500 X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Mar 19, 2002 at 05:41:33PM -0500, Shaun wrote: > Hello all- > > I have been searching through all sides of the internet trying to find > information on how to migrate the accounts. I have been to several list > archives, google, the hand book and everything but haven't been able to > find anything too helpful. > > I am trying to move user accounts from a LinuxPPC 2000 box to a FreeBSD > 4.5. The problem on the linux box is that the pwdunconv program doesnt seem > to work. The box is a bit crippled. (its an iMac, i know i know... not my > choice.) Does anyone know how I could resolve this problem? There should be a file, /etc/passwd, or /etc/shadow or something, that looks similar to /etc/master.passwd on a FreeBSD box. If you carefully incorporate the contents, noting that you match up the right colon-seperated fields on each line, and run pwd_mkdb -p /etc/master.passwd on the FreeBSD box, you should be left happy. Good luck. -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message