Conversion to FreeBSD from Linux
Roberto Pereyra
rjpereyra at gualeguaychu.gov.ar
Thu Feb 26 03:32:24 PST 2004
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 <msergeant at snsonline.net>
> SNSOnline Technical Services
More information about the freebsd-isp
mailing list