Date: Wed, 13 Feb 2002 11:13:32 +0300 (MSK) From: Varshavchick Alexander <alex@metrocom.ru> To: "Crist J. Clark" <cjc@FreeBSD.ORG> Cc: questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: crypt function - solution! Message-ID: <Pine.GSO.4.21.0202131108410.4454-100000@apache.metrocom.ru> In-Reply-To: <20020212232520.D29413@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I feel myself that this method was not entirely right but it didn't work any other way. The native 4.5 version of libcrypt refused working with DES passwords, it ignored /etc/auth.conf, I don't know why it is so. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Tue, 12 Feb 2002, Crist J. Clark wrote: > Date: Tue, 12 Feb 2002 23:25:20 -0800 > From: Crist J. Clark <cjc@FreeBSD.ORG> > To: Varshavchick Alexander <alex@metrocom.ru> > Cc: Peter Pentchev <roam@ringlet.net>, > Miguel Mendez <flynn@energyhq.homeip.net>, questions@FreeBSD.ORG, > freebsd-hackers@FreeBSD.ORG > Subject: Re: crypt function - solution! > > 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-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0202131108410.4454-100000>