Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 14:57:43 -0400
From:      Matthew Hunt <mph@pobox.com>
To:        Penisoara Adrian <ady@warpnet.ro>, freebsd-security@FreeBSD.ORG
Subject:   Re: Using MD5 insted of DES for passwd ecnryption
Message-ID:  <19980419145743.46300@mph124.rh.psu.edu>
In-Reply-To: <Pine.BSF.3.96.980420001359.3162A-100000@ady.warpnet.ro>; from Penisoara Adrian on Mon, Apr 20, 1998 at 12:38:12AM %2B0300
References:  <Pine.BSF.3.96.980420001359.3162A-100000@ady.warpnet.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@pobox.com> * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980419145743.46300>