Date: Thu, 18 Nov 1999 08:18:52 +0100 (CET) From: Lemle Geza <lemleg@fw.opsys.hu> To: Lowell Gilbert <lowell@world.std.com> Cc: peterp@above.net, freebsd-questions@freebsd.org Subject: Re: DES or MD5 Message-ID: <Pine.BSF.4.20.9911180727550.5707-100000@fw.opsys.hu> In-Reply-To: <rd6ogct9jdj.fsf@world.std.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <pperreault@above.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911180727550.5707-100000>