Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 09:36:59 +0930 (CST)
From:      Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        Holtor <holtor@yahoo.com>, freebsd-security@freebsd.org
Subject:   Re: DES & MD5?
Message-ID:  <Pine.OSF.4.10.9906160933130.22473-100000@bragg>
In-Reply-To: <37667C35.68E9E594@ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jun 1999, Evren Yurtesen wrote:

> I think when you use MD5 or DES you can still have different kind of
> passwords in your password file.

You can. crypt() checks whether it's being passed a salt of the form
$1$...$, and if so, passes it to crypt_md5(), otherwise considers it as a DES
salt and sends it to crypt_des() (if DES support is compiled in).

So you can mix and match any passwords your crypt() knows how to parse. The
only problem is that standrd FreeBSD doesn't have a way to select which
password scheme you want: if you install the DES sources, you get DES
passwords, otherwise MD5, for your new passwords.

Kris

-----
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
    -- Unknown



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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