From owner-freebsd-questions Sat Oct 23 19:40:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 2156F14E14 for ; Sat, 23 Oct 1999 19:40:48 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA39148; Sat, 23 Oct 1999 22:44:07 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910240244.WAA39148@cc942873-a.ewndsr1.nj.home.com> Subject: Re: crypt libraries In-Reply-To: <000501bf1db0$50e50860$0300a8c0@anime.ca> from Edirol at "Oct 23, 1999 07:42:48 pm" To: edirol@anime.ca (Edirol) Date: Sat, 23 Oct 1999 22:44:07 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Edirol wrote, [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi there, > > I was switching my system from using the DES libs to the regular MD5 libs. > > My password file contains both DES and MD5 passwords but I can't seem to > authenticate. > > Here's a list of my crypt libs: > > lrwxrwxrwx 1 root wheel 11 Oct 23 18:18 libcrypt.a@ -> libscrypt.a > lrwxrwxrwx 1 root wheel 12 Oct 23 18:18 libcrypt.so@ -> libscrypt.so > lrwxrwxrwx 1 root wheel 14 Oct 23 18:18 libcrypt.so.2@ -> > libscrypt.so.2 > lrwxrwxrwx 1 root wheel 15 Oct 3 16:36 libcrypt_p.a@ -> > libdescrypt_p.a > -r--r--r-- 1 root wheel 13018 Sep 16 18:40 libdescrypt.a > lrwxrwxrwx 1 root wheel 16 Oct 3 16:36 libdescrypt.so@ -> > libdescrypt.so.2 > -r--r--r-- 1 root wheel 12965 Sep 16 18:40 libdescrypt.so.2 > -r--r--r-- 1 root wheel 14750 Sep 16 18:40 libdescrypt_p.a > -r--r--r-- 1 root wheel 6194 Sep 16 18:40 libscrypt.a > lrwxrwxrwx 1 root wheel 14 Oct 23 18:18 libscrypt.so@ -> > libscrypt.so.2 > -r--r--r-- 1 root wheel 7579 Sep 16 18:40 libscrypt.so.2 > > One thing I did notice. I don't seem to have libscrypt_p.a but I think I > could copy that from another system. > > Could someone verify whether if all the links are pointed correctly? They are pointing correctly if you want to use MD5 only. However, you can't use DES passwords unless you point them to libdescrypt.so.2. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message