From owner-freebsd-isp Thu Nov 22 1: 6:28 2001 Delivered-To: freebsd-isp@freebsd.org Received: from ns2.wananchi.com (ns2.wananchi.com [212.49.74.4]) by hub.freebsd.org (Postfix) with ESMTP id 81BBC37B41B for ; Thu, 22 Nov 2001 01:06:19 -0800 (PST) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 166pms-0004Eh-00; Thu, 22 Nov 2001 12:04:50 +0300 Date: Thu, 22 Nov 2001 12:04:50 +0300 From: Odhiambo Washington To: curl@tcc-comp.com.au Cc: FBSD-ISP Subject: Re: combining passwd files Message-ID: <20011122120450.C89040@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , curl@tcc-comp.com.au, FBSD-ISP References: <200111220857.TAA31898@james.coopcom.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: <200111220857.TAA31898@james.coopcom.com.au> User-Agent: Mutt/1.3.23i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Death is only a state of mind. Only it doesn't leave you much time to think about anything else. X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 12:02PM up 12 days, 19:54, 2 users, load averages: 0.51, 0.48, 0.40 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --E/DnYTRukya0zdZ1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * curl@tcc-comp.com.au [20011122 10:41]: writing on = the subject 'combining passwd files' |=20 | Hello. |=20 | I need to combine the passwd files from a FreeBSD 2.2.6 system, and a Red= Hat | Linux 6.1 system into the current passwd file on a new FreeBSD 4.4 system | that i'm building. |=20 | What's the best way to goabout this? Hello Stephen, I was in a similar situation a while back and someone gave me this procedur= e: ## run pwunconv on the Linux end, copy it over to freebsd, run awk < passwd.linux > /etc/master.passwd 'BEGIN { FS =3D ":"} { print $1 ":"= $2 ":" $3 ":" $4 "::0:0:" $5 ":" $6 ":" $7 }' run pwd_mkdb, and you should be set. ## I did not quite use it because some guys had done most of the stuff manuall= y. Lemme know if that helps. -Wash S y s t e m s A d m i n i s t r a t o r -- ~\\_ =20 Odhiambo Washington \\\\ =20 Wananchi Online Ltd., `\\\\\ =20 1st Flr Loita Hse, Loita Street |\\\\\ =20 PO Box 10286,00100-NAIROBI,KE. \\\\\|__.--~~\ =20 Fax: 254 2 313985-9 _--~ / =20 Fax: 254 2 313922 /~ ////// _-~~~~' =20 E-mail: wash@wananchi.com ('-//////-// =20 URL : http://www.wananchi.com //////(((-) =20 GSM: 254 72 743 223 / 254 733 744 121 /////" =20 _///" =20 +++ Pohl's law: Nothing is so good that somebody, somewhere, will not hate it. --E/DnYTRukya0zdZ1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7/L+yn7LIsuxjem8RAjJVAJ9StyNO6/nHP5BsWpG+Un5oMe+aRQCgnsv0 ICa7vIcYbIbp0/M9bUflBfE= =Q4FJ -----END PGP SIGNATURE----- --E/DnYTRukya0zdZ1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message