Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 15:05:31 +0000
From:      Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br>
To:        Mark Livingstone <mlivingstone@ottawa.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: MD5 and DES?!
Message-ID:  <3A3CD63B.4237DBC5@ifour.com.br>
References:  <200012171627.LAA21922@mail.ottawa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3CD63B.4237DBC5>