From owner-freebsd-questions Tue Aug 28 9:14:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 8ACAE37B40B for ; Tue, 28 Aug 2001 09:14:48 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 15blVO-000Ila-00 for freebsd-questions@freebsd.org; Tue, 28 Aug 2001 19:14:22 +0300 Date: Tue, 28 Aug 2001 19:14:22 +0300 From: Odhiambo Washington To: FBSD-Q Subject: another easy one for the script gurus Message-ID: <20010828191422.P14463@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , FBSD-Q Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mPTHnM80CEnHQ2WJ" Content-Disposition: inline User-Agent: Mutt/1.3.20i X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.3-STABLE i386 X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 7:10PM up 5 days, 23:17, 2 users, load averages: 1.20, 1.14, 1.14 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mPTHnM80CEnHQ2WJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This time I need help in extracting usernames and passwords from the file /etc/master.passwd. What I have in mind, if someone can help me, is a Makefile type of script. I want to place it somewhere and all I want to do is to=20 cd /path/to/Makefile make =2E.and I should end up getting _somefilename_ which contains two columns: username1:encryptedpasswd username2:encryptedpasswd thanking you all in advance. -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. It's not a field, I think, for people who need to have success every day: i= f=20 you can't live with a nightly sort of disaster, you should get out. I would= n't=20 describe myself as lacking in confidence, but I would just say that the gho= sts=20 you chase you never catch.=20 -John Malkovich=20 --mPTHnM80CEnHQ2WJ 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 iD8DBQE7i8Nen7LIsuxjem8RAgBtAJ9UZWL1N3c+D9qcJsaT590ZyIEcSQCgvAEr ifEOdpr3DhdwbtTQaHFJaoQ= =7afd -----END PGP SIGNATURE----- --mPTHnM80CEnHQ2WJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message