From owner-freebsd-isp@FreeBSD.ORG Thu Feb 26 03:32:24 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 7669B16A4CE for ; Thu, 26 Feb 2004 03:32:24 -0800 (PST) Received: from gualeguaychu.gov.ar (host165.200-117-41.telecom.net.ar [200.117.41.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id D022943D1D for ; Thu, 26 Feb 2004 03:32:23 -0800 (PST) (envelope-from rjpereyra@gualeguaychu.gov.ar) Received: by gualeguaychu.gov.ar (Postfix, from userid 1061) id 757D4477D; Thu, 26 Feb 2004 08:32:34 -0300 (ART) Date: Thu, 26 Feb 2004 08:32:33 -0300 From: Roberto Pereyra To: Mark Sergeant Message-ID: <20040226113233.GA30713@gualeguaychu.gov.ar> References: <200402251339.i1PDdc2B011071@cah.talon.net> <20040225141355.GA1519@outreachnetworks.com> <20040225124811.Q12422@cah.talon.net> <1077751462.1159.4.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1077751462.1159.4.camel@localhost> User-Agent: Mutt/1.4i cc: "Scott St. John" 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: Thu, 26 Feb 2004 11:32:24 -0000 Hi ! Read http://www.openbsd.org/faq/faq9.html#passwd Is for Openbsd but works with FreeBSD. Roberto On Thu, Feb 26, 2004 at 09:24:22AM +1000, Mark Sergeant wrote: > On Thu, 2004-02-26 at 03:49, Scott St. John wrote: > > Mark- > > > > 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 from > > the Linux passwd file before I run the script. > > > > 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! > > > > -Scott > > > On Thu, 26 Feb 2004, Mark Sergeant wrote: > > > > > -- 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" > -- > Mark Sergeant > SNSOnline Technical Services