*BSD News Article 90226


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!dispatch.news.demon.net!demon!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!iafrica.com!not-for-mail
From: markm@NOSPAMiafrica.com (Mark R V Murray)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Migrating from DES to MD5 passwords
Date: 3 Mar 1997 07:51:04 GMT
Organization: Internet Africa
Message-ID: <5fdvt8$c1i$1@newsfeed.iafrica.com>
References: <fred-2802970152280001@dcs68.dcs-chico.com>
    <5f6se2$llp$2@polaris.eurocontrol.fr>
NNTP-Posting-Host: rodent.iafrica.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Lines: 20
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36459

In article <5f6se2$llp$2@polaris.eurocontrol.fr>,
>> I've heard that some versions of FreeBSD understand mixed DES/MD5 password
>> files, but I can't recall which version that started at, nor could I find
>> that info in the FAQ.
> 
> 2.2 and up will understand both formats but the default is DES I think. You
> should be able to change it in the source. If you do this, each time a
> password is changed, it will use the default format.

I wrote the "dual-personality crypt", and it is in 2.1.5 and further.

> If you give crypt(3) a salt beginning with "$1$", it will use MD5
> passwords. Look into /usr/src/secure/lib/libcrypt/ for details.

Passwd will use whicher salt type is currently set for the passwd
being changed.

(My email address has been messed with to thwart spammers)

M