Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 11:19:26 +0000
From:      Shawn Ramsey <shawn@cpl.net>
To:        questions@freebsd.org
Subject:   DES passwd
Message-ID:  <20001027111926.A51348@cpl.net>

next in thread | raw e-mail | index | archive | help
I am trying to enable DES passwords on a 4.1.1-RELEASE machine. I installed
the crypto distribution. And now at least "adduser" encrypts passwords with
DES. But "passwd" does not. I tried recompiling. I thought all I did before
(3.4-RELEASE) was install the same package, and passwd encrypted with DES.
What do I need to do? Maybe this will help too :

/usr/lib {32}>ls -ld libcr*
lrwxrwxrwx  1 root  wheel       13 Oct 27 01:09 libcrypt.a -> libdescrypt.a
lrwxrwxrwx  1 root  wheel       14 Oct 27 01:09 libcrypt.so ->
libdescrypt.so
lrwxrwxrwx  1 root  wheel       16 Oct 27 01:09 libcrypt.so.2 ->
libdescrypt.so.
2
lrwxrwxrwx  1 root  wheel       15 Oct 27 01:09 libcrypt_p.a ->
libdescrypt_p.a
-r--r--r--  1 root  wheel  1275196 Sep 26 00:04 libcrypto.a
lrwxrwxrwx  1 root  wheel       14 Oct 27 01:09 libcrypto.so ->
libcrypto.so.1
-r--r--r--  1 root  wheel   781268 Sep 26 00:04 libcrypto.so.1
-r--r--r--  1 root  wheel  1362554 Sep 26 00:04 libcrypto_p.a


/usr/bin {34}>ldd passwd
passwd:
        libkadm.so.3 => /usr/lib/libkadm.so.3 (0x2806a000)
        libkrb.so.3 => /usr/lib/libkrb.so.3 (0x2806f000)
        libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x28088000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28144000)
        librpcsvc.so.2 => /usr/lib/librpcsvc.so.2 (0x28159000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28160000)
        libutil.so.3 => /usr/lib/libutil.so.3 (0x28162000)
        libc.so.4 => /usr/lib/libc.so.4 (0x2816b000)

I tried coping the libdescryt libs to the same name as passwd points to, but
it still encrypts with MD5 passwds. :(


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?20001027111926.A51348>