Conversion to FreeBSD from Linux
Mark Sergeant
msergeant at snsonline.net
Wed Feb 25 15:24:29 PST 2004
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 <msergeant at snsonline.net>
SNSOnline Technical Services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-isp/attachments/20040226/3cb8d199/attachment.bin
More information about the freebsd-isp
mailing list