From owner-freebsd-questions Mon Apr 16 5: 8:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id 54AA937B43C for ; Mon, 16 Apr 2001 05:08:27 -0700 (PDT) (envelope-from mikel@ocsinternet.com) Received: from ocsinternet.com (thoth.upan.org [204.107.76.16]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f3GC6WZ95134; Mon, 16 Apr 2001 08:06:32 -0400 (EDT) (envelope-from mikel@ocsinternet.com) Message-ID: <3ADAE26C.AD284476@ocsinternet.com> Date: Mon, 16 Apr 2001 08:15:40 -0400 From: Mikel X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: Odhiambo Washington Cc: FBSD-Q Subject: Re: Migrating from Linux to FreeBSD References: <20010416135618.C2022@everest.wananchi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: dan kelley 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