Date: Thu, 26 Feb 2004 09:24:22 +1000 From: Mark Sergeant <msergeant@snsonline.net> To: "Scott St. John" <ssj@scottah.com> Cc: freebsd-isp@freebsd.org Subject: Re: Conversion to FreeBSD from Linux Message-ID: <1077751462.1159.4.camel@localhost> In-Reply-To: <20040225124811.Q12422@cah.talon.net> References: <200402251339.i1PDdc2B011071@cah.talon.net> <20040225141355.GA1519@outreachnetworks.com> <20040225124811.Q12422@cah.talon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 <msergeant@snsonline.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1077751462.1159.4.camel>