Date: Mon, 16 Apr 2001 08:15:40 -0400 From: Mikel <mikel@ocsinternet.com> To: Odhiambo Washington <wash@wananchi.com> Cc: FBSD-Q <freebsd-questions@FreeBSD.ORG> Subject: Re: Migrating from Linux to FreeBSD Message-ID: <3ADAE26C.AD284476@ocsinternet.com> References: <20010416135618.C2022@everest.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here's a copy of someting that I received one a while ago... Cheers, Mikel -------- Original Message -------- Subject: Re: converting a linux /etc/passwd to freebsd /etc/master.passwd Date: Thu, 22 Mar 2001 10:44:19 -0600 From: Dan Nelson <dnelson@emsphone.com> To: dan kelley <djk121@yahoo.com> CC: freebsd-questions@FreeBSD.ORG References: <20010322164027.29414.qmail@web4304.mail.yahoo.com> In the last episode (Mar 22), dan kelley said: > has anyone come across a relatively painless way to do this? > > i have a large number of users that i need to migrate, and i'd rather > not have to recreate the entries on the freebsd box by hand. run pwunconv on the Linux end, copy it over to freebsd, run awk < passwd.linux > /etc/master.passwd 'BEGIN { FS = ":"} { print $1 ":" $2 ":" $3 ":" $4 "::0:0:" $5 ":" $6 ":" $7 }' run pwd_mkdb, and you should be set. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message Odhiambo Washington wrote: > Hello good people, > I'm inheriting some Linux boxes but I don't have 2 lives like many > of us. All my life has revolved around FreeBSD. I am now having to > migrate users from a Linux box. I have over 3000 of them. I have other > applications to move also but that is not an issue. Does someone know a > painless way of doing this without having headaches with clients calling > about passwords not working etc? The mail is also a though in mbox > format. > > Thanks in advance for the advice. > > -Wash > > -- > Odhiambo Washington Wananchi Online Ltd., > wash@wananchi.com 1st Flr Loita Hse > Tel: 254 2 313985 Loita Street., > Fax: 254 2 313922 PO Box 10286, 00100-NAIROBI,KE. > > Stult's Report: > Our problems are mostly behind us. What we have to do now is > fight the solutions. > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADAE26C.AD284476>