Conversion to FreeBSD from Linux
Bill Vermillion
bv at wjv.com
Wed Feb 25 06:08:07 PST 2004
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
More information about the freebsd-isp
mailing list