From owner-freebsd-questions Wed May 17 19:50:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id B34B637B802 for ; Wed, 17 May 2000 19:50:28 -0700 (PDT) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id TAA53839 for ; Wed, 17 May 2000 19:50:21 -0700 (PDT) Date: Wed, 17 May 2000 19:50:21 -0700 (PDT) From: Ken Bolingbroke To: freebsd-questions@FreeBSD.ORG Subject: MD5 --> DES ? In-Reply-To: <200005121728.LAA12536@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So, several months ago I installed a new server for our lab, and as I always do, I selected MD5 encryption for the passwords. Now that I'm in the middle of setting up this machine as a NIS server for the various other machines in the lab, I find that some other flavors of UNIX don't like MD5. Oops. OK, so no problem, I can actually keep a separate master.passwd file for the NIS accounts anyway, I just need to populate them with DES encrypted passwords. So my question is, how do I create DES encrypted passwords from Perl? I tried compiling a new perl binary pointing at libdescrypt, but somehow crypt() still uses MD5. Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message