Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 10:14:26 +0200
From:      Fabrice Aneche <akenaton@club-internet.fr>
To:        Peter Pentchev <roam@orbitel.bg>, Fabrice Aneche <akh@nunix.net>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/23709: Changing from DES to MD5 passwords does not work properly
Message-ID:  <1630000.988272866@lecaire>
In-Reply-To: <20010425222729.G54687@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help


--On Wednesday, April 25, 2001 22:27:29 +0300 Peter Pentchev 
<roam@orbitel.bg> wrote:

> On Wed, Apr 25, 2001 at 12:20:05PM -0700, Fabrice Aneche wrote:
>> The following reply was made to PR misc/23709; it has been noted by
>> GNATS.
>>
>> From: Fabrice Aneche <akh@nunix.net>
>> To: freebsd-gnats-submit@FreeBSD.org, dschultz@uclink.berkeley.edu
>> Cc:
>> Subject: Re: misc/23709: Changing from DES to MD5 passwords does not
>> work properly Date: Wed, 25 Apr 2001 21:19:57 +0200
>>
>>  Now in 4.3-RELEASE,  login.conf is already set to :
>>
>>  default:\
>>          :passwd_format=md5:\
>>
>>
>>  But it doesn't work at all ... if you set it to des :it crypts in md5 ,
>>  and if you install crypto and change your libcrypt to libdescrypt , it's
>>  the same it crypts only in des .
>
> After you set it to 'des', did you run cap_mkdb /etc/login.conf?
>
> G'luck,
> Peter

No but if i try :

login.conf
--
default:\
       :passwd_format=md5:\
--

# cd /etc

# cap_mkdb login.conf


Default crypt mode: des
--
  printf("Default crypt mode: %s\n", crypt_get_format());
--

ls -l /usr/lib/libcrypt.*

lrwxr-xr-x  1 root  wheel  22 Apr 25 21:04 /usr/lib/libcrypt.a -> 
/usr/lib/libdescrypt.a
lrwxr-xr-x  1 root  wheel  23 Apr 25 21:04 /usr/lib/libcrypt.so -> 
/usr/lib/libdescrypt.so
lrwxr-xr-x  1 root  wheel  25 Apr 25 21:04 /usr/lib/libcrypt.so.2 -> 
/usr/lib/libdescrypt.so.2

Did I missed something ?

Fabrice Aneche
Tel/Fax: 01 41 66 67 29 / 01 41 66 67 11
mailto:f.aneche@libertysurf.fr

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




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