From owner-freebsd-security Sun Apr 19 11:57:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA18341 for freebsd-security-outgoing; Sun, 19 Apr 1998 11:57:51 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from mph124.rh.psu.edu (mph@MPH124.rh.psu.edu [128.118.126.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18333 for ; Sun, 19 Apr 1998 18:57:45 GMT (envelope-from mph@mph124.rh.psu.edu) Received: (from mph@localhost) by mph124.rh.psu.edu (8.8.8/8.8.8) id OAA14602; Sun, 19 Apr 1998 14:57:44 -0400 (EDT) (envelope-from mph) Message-ID: <19980419145743.46300@mph124.rh.psu.edu> Date: Sun, 19 Apr 1998 14:57:43 -0400 From: Matthew Hunt To: Penisoara Adrian , freebsd-security@FreeBSD.ORG Subject: Re: Using MD5 insted of DES for passwd ecnryption Mail-Followup-To: Penisoara Adrian , freebsd-security@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Penisoara Adrian on Mon, Apr 20, 1998 at 12:38:12AM +0300 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk On Mon, Apr 20, 1998 at 12:38:12AM +0300, Penisoara Adrian wrote: > How can one control which kind of encryption is to be used by the > system for password encryption ? For example I want to use only MD5 > for passwords encryption but I need the DES libraries to be available > (because ppp/iijppp needs them -- probably in conjuction with CHAP/PAP > authentication). I think it's just controlled by which library the libcrypt symbolic link points to. I have both DES and MD5 on my machine, but passwords are generated with MD5. $ ls -l /usr/lib/lib*crypt* lrwxrwxrwx 1 root bin 11 May 12 1997 /usr/lib/libcrypt.a -> libscrypt.a lrwxrwxrwx 1 root bin 16 May 12 1997 /usr/lib/libcrypt.so.2.0 -> libscrypt.so.2.0 -r--r--r-- 1 bin bin 10706 Apr 10 13:02 /usr/lib/libdescrypt.a -r--r--r-- 1 bin bin 16698 Apr 10 13:02 /usr/lib/libdescrypt.so.2.0 -r--r--r-- 1 bin bin 4560 Dec 20 09:33 /usr/lib/libscrypt.a -r--r--r-- 1 bin bin 12579 Dec 20 09:33 /usr/lib/libscrypt.so.2.0 (libscrypt is the MD5 library, libdescrypt is of course the DES library.) -- Matthew Hunt * Stay close to the Vorlon. http://mph124.rh.psu.edu/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message