From owner-freebsd-isp@FreeBSD.ORG Wed Feb 25 15:24:29 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 6461716A4CE for ; Wed, 25 Feb 2004 15:24:29 -0800 (PST) Received: from xyzzy.wireless.snsonline.net (office-fw.iexec.net.au [210.18.210.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 649B143D2F for ; Wed, 25 Feb 2004 15:24:28 -0800 (PST) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) i1PNOR1O092451; Thu, 26 Feb 2004 09:24:27 +1000 (EST) (envelope-from msergeant@snsonline.net) Received: (from msergeant@localhost)i1PNOMoM092449; Thu, 26 Feb 2004 09:24:22 +1000 (EST) (envelope-from msergeant@snsonline.net) X-Authentication-Warning: xyzzy.wireless.snsonline.net: msergeant set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: "Scott St. John" In-Reply-To: <20040225124811.Q12422@cah.talon.net> References: <200402251339.i1PDdc2B011071@cah.talon.net> <20040225141355.GA1519@outreachnetworks.com> <20040225124811.Q12422@cah.talon.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XiZ9qB0QRm1L4fgTmhOm" Organization: SNSOnline Technical Services Message-Id: <1077751462.1159.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 26 Feb 2004 09:24:22 +1000 cc: freebsd-isp@freebsd.org Subject: Re: Conversion to FreeBSD from Linux X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 23:24:29 -0000 --=-XiZ9qB0QRm1L4fgTmhOm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-02-26 at 03:49, Scott St. John wrote: > Mark- >=20 > I take it I run this directly on the BSD machine? I will give it a try > and let you know how it works out. I will remove the system accounts fro= m > the Linux passwd file before I run the script. >=20 Run this script on the linux machine, then edit the output file to get rid of the system accounts, once that is done scp that file across to the bsd machine and you could simply cat filename >> /etc/master.passwd && pwd_mkdb /etc/master.passwd . The reason this has to be run on the linux machine is due to how it grabs the system accounts. Cheers, Mark > THANK YOU! >=20 > -Scott > On Thu, 26 Feb 2004, Mark Sergeant wrote: >=20 > > -- Begin perl script -- > > -- End perl script > > > > Should work well enough on linux as well. ohh and of course if you > > intend to use it more than once drop in some error checking / catching, > > something to remove the system accounts and of course "use strict" --=20 Mark Sergeant SNSOnline Technical Services --=-XiZ9qB0QRm1L4fgTmhOm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAPS6mbS4ZEpHb8t0RAvJeAJ4ilNBjOxLKWN21rtrW7WG0zrbYvgCeM3Wu rLYfbLM24XGiMGhudc/ijU4= =ttKW -----END PGP SIGNATURE----- --=-XiZ9qB0QRm1L4fgTmhOm--