From owner-freebsd-hackers Tue Feb 12 23:25:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 610E137B400; Tue, 12 Feb 2002 23:25:22 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020213072522.OKKK2566.rwcrmhc51.attbi.com@blossom.cjclark.org>; Wed, 13 Feb 2002 07:25:22 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1D7PK730946; Tue, 12 Feb 2002 23:25:20 -0800 (PST) (envelope-from cjc) Date: Tue, 12 Feb 2002 23:25:20 -0800 From: "Crist J. Clark" To: Varshavchick Alexander Cc: Peter Pentchev , Miguel Mendez , questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: crypt function - solution! Message-ID: <20020212232520.D29413@blossom.cjclark.org> References: <20020211181324.E30217@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alex@metrocom.ru on Tue, Feb 12, 2002 at 01:44:51PM +0300 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 12, 2002 at 01:44:51PM +0300, Varshavchick Alexander wrote: > Hi guys, > > Here followes how the problem was solved. Before the system upgrade to > 4.5, there was no separate /usr/lib/libcrypt.so.2 file, it was symlinked > to libdescrypt.so.2, and making the things the same way solved it! Playing > with /etc/auth.conf didn't help. > > To be more precise, symlinking libcrypt.so.2 on a running system cannot be > done, so what I did was copying /usr/lib/libedscrypt.so.2 to a temporary > directory and running command > > install -c -s -o root -g wheel -m 444 -fschg libcrypt.so.2 /usr/lib > > And beside this, the following symlinks were needed: > /usr/lib/libcrypt.a -> libdescrypt.a > /usr/lib/libcrypt.so -> libdescrypt.so > > They could be done by the ordinary way. > > If anybody have comments on the subject it's interesting to hear them, and > my big thanks to all who helped solving this issue. One small comment: This fix is completely wrong. In 4.4 (actually mid-4.3-STABLE) and above, there is no libedscrypt or libscrypt (see http://www.freebsd.org/releases/4.4R/relnotes-i386.html). libcrypt contains the code for doing DES, MD5, and Blowfish passwords. No need for the old symlink kludge. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message