From owner-freebsd-questions Sun Dec 17 9: 7: 5 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 09:07:03 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from ifour.com.br (unknown [200.236.148.68]) by hub.freebsd.org (Postfix) with SMTP id 0439F37B400 for ; Sun, 17 Dec 2000 09:06:57 -0800 (PST) Received: (qmail 40773 invoked from network); 17 Dec 2000 14:14:35 -0000 Received: from port40.tdnet.com.br (HELO ifour.com.br) (200.236.148.140) by midas.ifour.com.br with SMTP; 17 Dec 2000 14:14:35 -0000 Sender: grios@FreeBSD.ORG Message-ID: <3A3CD63B.4237DBC5@ifour.com.br> Date: Sun, 17 Dec 2000 15:05:31 +0000 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Livingstone Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MD5 and DES?! References: <200012171627.LAA21922@mail.ottawa.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Livingstone wrote: > > I've just altered my login.conf to utilize MD5 for password encryption. > However, I have no idea what to do with libcrypt* since they are linked to > libdescrypt: > > lrwxr-xr-x 1 root wheel 13 Nov 27 11:01 /usr/lib/libcrypt.a -> > libdescrypt.a > lrwxr-xr-x 1 root wheel 14 Nov 27 11:01 /usr/lib/libcrypt.so -> > libdescrypt.so > lrwxr-xr-x 1 root wheel 16 Nov 27 11:01 /usr/lib/libcrypt.so.2 -> > libdescrypt.so.2 > lrwxr-xr-x 1 root wheel 15 Nov 27 11:01 /usr/lib/libcrypt_p.a -> > libdescrypt_p.a > -r--r--r-- 1 root wheel 1259976 Nov 27 11:14 /usr/lib/libcrypto.a > lrwxr-xr-x 1 root wheel 14 Nov 27 11:14 /usr/lib/libcrypto.so -> > libcrypto.so.1 > -r--r--r-- 1 root wheel 782240 Nov 27 11:14 /usr/lib/libcrypto.so.1 > -r--r--r-- 1 root wheel 1341920 Nov 27 11:14 /usr/lib/libcrypto_p.a > > how do i change them to be linked against MD5? reboot is necessary after/for > that? Your crypt link is pointing to DES, not MD5! Here is what i get: grios@etosha$ ls -l libcrypt* lrwxr-xr-x 1 root wheel 11 Dec 16 19:49 libcrypt.a -> libscrypt.a lrwxr-xr-x 1 root wheel 12 Dec 16 19:49 libcrypt.so -> libscrypt.so lrwxr-xr-x 1 root wheel 14 Dec 16 19:49 libcrypt.so.2 -> libscrypt.so.2 lrwxr-xr-x 1 root wheel 13 Dec 16 19:49 libcrypt_p.a -> libscrypt_p.a -r--r--r-- 1 root wheel 1259976 Dec 16 19:56 libcrypto.a lrwxr-xr-x 1 root wheel 14 Dec 16 19:56 libcrypto.so -> libcrypto.so.1 -r--r--r-- 1 root wheel 782240 Dec 16 19:56 libcrypto.so.1 -r--r--r-- 1 root wheel 1341920 Dec 16 19:56 libcrypto_p.a grios@etosha$ I guess you should simply replace your link to point to the correct files. But first switch to single user mode (shutdown now). I You would not need to reset your uptime status. I hope it helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message