From owner-freebsd-questions Thu Nov 18 3: 5: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.opsys.hu (fw.opsys.hu [193.68.57.241]) by hub.freebsd.org (Postfix) with ESMTP id 6DB2315105 for ; Thu, 18 Nov 1999 03:04:57 -0800 (PST) (envelope-from lemleg@fw.opsys.hu) Received: by fw.opsys.hu (Postfix, from userid 1016) id F3CC510E05; Thu, 18 Nov 1999 08:18:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by fw.opsys.hu (Postfix) with ESMTP id EF8CDD213; Thu, 18 Nov 1999 08:18:52 +0100 (CET) Date: Thu, 18 Nov 1999 08:18:52 +0100 (CET) From: Lemle Geza To: Lowell Gilbert Cc: peterp@above.net, freebsd-questions@freebsd.org Subject: Re: DES or MD5 In-Reply-To: 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 Hello, There is a difficult way to have a DES password on a MD5 system. 1. cvsup the des code to your src distribution. After this, you will have src/secure and src/crypto directories. 2. Enter to src/secure directory and do: make cleandir obj depend all Never do: make install ! 3. do make install in src/secure/lib/libdes, libcipher directories and copy manually the src/lib/libcrypt/obj/libdescrypt* to /usr/lib. Now you have the "SDK" to compile des password generator programs. 4. Choose a program to encrypt password. I use htpasswd from the apache source code. (apache1.3.9/src/support) In the Makefile you have to change the -lcrypt library statemenst to -ldescrypt . 5. You can use htpasswd to generate des passwords 6. If you like your MD5 passwords, you must rename the secure and crypto directories to another name ( tst.secure ,tst.crypto) or use the -DNOSECURE -DNOCRYPT flags if you do make world... Other way all new passwords will be DES in /etc/passwd Good luck, Geza On 17 Nov 1999, Lowell Gilbert wrote: > "Pete Perreault" writes: > > > It appears that the encrypted passwords within master.passwd file use the > > MD5 algorithm. Is there a way to change this to DES? Alternatively, is > > there a way to create DES encrypted passwords? > > Install DES. Sysinstall can do it for you. > > If you have problems after that, check the handbook for more > information. > > Be well. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message