Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 09:08:03 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: Conversion to FreeBSD from Linux
Message-ID:  <20040225140803.GD55351@wjv.com>
In-Reply-To: <200402251339.i1PDdc2B011071@cah.talon.net>
References:  <200402251339.i1PDdc2B011071@cah.talon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
While stranded on the shoulder of the Information Superhiway and
trying to flag down some passing bytes Scott St. John said "Bits
don't fail me now", and continued with:

> I have been searching the net for a simple answer and I will
> continue to look, but if anyone has a link, please pass it
> along.

> Two years ago I converted my BSDi password file to Linux with a
> simple script to replace fields. For obvious reasons I want to
> move back to FreeBSD, but of course I need to convert the Linux
> passwd file of 2,000+ users to FreeBSD.

> Any links will be appreciated!

If you don't find any scripts I found it was not that difficult
with vi, a little editing, and the using the cut and paste unix
utilities.  It's basically putting the appropriate parts
from /etc/passwd and /etc/shadow, adding the two extra fields for
BSD, and then running the vipw on the completed file.

Since it was a one-time thing for me, but it was Irix to BSD and
the file format on both Irix and Linux passwords were the same, I
figured I could do it manually editing rather than take the time to
write a script.   

Bill
-- 
Bill Vermillion - bv @ wjv . com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040225140803.GD55351>