From owner-freebsd-bugs Thu Apr 26 1:14:51 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by hub.freebsd.org (Postfix) with ESMTP id 8CBC637B422 for ; Thu, 26 Apr 2001 01:14:47 -0700 (PDT) (envelope-from akenaton@club-internet.fr) Received: from lecaire (213.36.81.152) by mail.libertysurf.net (5.1.053) id 3AE5563200044798; Thu, 26 Apr 2001 10:15:19 +0200 Date: Thu, 26 Apr 2001 10:14:26 +0200 From: Fabrice Aneche To: Peter Pentchev , Fabrice Aneche 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> X-Mailer: Mulberry/2.0.8 (SunOS/SPARC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --On Wednesday, April 25, 2001 22:27:29 +0300 Peter Pentchev 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 >> 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