From owner-freebsd-isp@FreeBSD.ORG Wed Feb 25 06:08:07 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B65C16A4CE for ; Wed, 25 Feb 2004 06:08:07 -0800 (PST) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09EE543D31 for ; Wed, 25 Feb 2004 06:08:07 -0800 (PST) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.10/8.12.10) with ESMTP id i1PE84gT007383 for ; Wed, 25 Feb 2004 09:08:04 -0500 (EST) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.10/8.12.10/Submit) id i1PE84HZ007382 for freebsd-isp@freebsd.org; Wed, 25 Feb 2004 09:08:04 -0500 (EST) (envelope-from bv) Date: Wed, 25 Feb 2004 09:08:03 -0500 From: Bill Vermillion To: freebsd-isp@freebsd.org Message-ID: <20040225140803.GD55351@wjv.com> References: <200402251339.i1PDdc2B011071@cah.talon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402251339.i1PDdc2B011071@cah.talon.net> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on bilver.wjv.com Subject: Re: Conversion to FreeBSD from Linux X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 14:08:07 -0000 While stranded on the shoulder of the Information Superhiway and trying to flag down some passing bytes Scott St. John said "Bits don't fail me now", and continued with: > I have been searching the net for a simple answer and I will > continue to look, but if anyone has a link, please pass it > along. > Two years ago I converted my BSDi password file to Linux with a > simple script to replace fields. For obvious reasons I want to > move back to FreeBSD, but of course I need to convert the Linux > passwd file of 2,000+ users to FreeBSD. > Any links will be appreciated! If you don't find any scripts I found it was not that difficult with vi, a little editing, and the using the cut and paste unix utilities. It's basically putting the appropriate parts from /etc/passwd and /etc/shadow, adding the two extra fields for BSD, and then running the vipw on the completed file. Since it was a one-time thing for me, but it was Irix to BSD and the file format on both Irix and Linux passwords were the same, I figured I could do it manually editing rather than take the time to write a script. Bill -- Bill Vermillion - bv @ wjv . com