From owner-freebsd-questions Thu May 3 3:38:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comm.uni-svishtov.bg (ns.uni-svishtov.bg [193.68.172.1]) by hub.freebsd.org (Postfix) with ESMTP id 0FDBE37B43C for ; Thu, 3 May 2001 03:38:28 -0700 (PDT) (envelope-from alalev@uni-svishtov.bg) Received: from grinch.uni-svishtov.bg (root@grinch.uni-svishtov.bg [193.68.172.9]) by comm.uni-svishtov.bg (8.9.3/8.9.3) with ESMTP id NAA20774 for ; Thu, 3 May 2001 13:38:21 +0300 (EEST) Received: from uni-svishtov.bg (lalev.uni-svishtov.bg [193.68.173.61]) by grinch.uni-svishtov.bg (8.9.3/8.9.1) with ESMTP id NAA07686 for ; Thu, 3 May 2001 13:38:19 +0300 (EEST) Message-ID: <3AF15FB3.1D3C46C0@uni-svishtov.bg> Date: Thu, 03 May 2001 13:40:03 +0000 From: User Lalev X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Help with md5 and des passwords Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone. I have following situation on one of my FreeBSD boxes. ------------ su-2.04# uname -r 4.3-STABLE su-2.04# cat /etc/master.passwd|grep lalev lalev:$1$jIo/ntIt$9wRNzBiWpOlhuT/PDH/1G.:1011:0::0:0:Angelin Lalev:/usr/home/lalev/:/usr/local/bin/bash su-2.04# passwd lalev Changing local password for lalev. New password: Retype new password: passwd: updating the database... passwd: done su-2.04# cat /etc/master.passwd|grep lalev lalev:$1$tcJZ2sC.$2nuvKdEUu2VQ.oFqnpyU2/:1011:0::0:0:Angelin Lalev:/usr/home/lalev/:/usr/local/bin/bash su-2.04# ls -la /usr/lib/libcrypt* lrwxr-xr-x 1 root wheel 13 Apr 22 18:37 /usr/lib/libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 14 Apr 22 18:37 /usr/lib/libcrypt.so -> libdescrypt.so lrwxr-xr-x 1 root wheel 16 Apr 22 18:37 /usr/lib/libcrypt.so.2 -> libdescrypt.so.2 lrwxr-xr-x 1 root wheel 15 Apr 22 18:37 /usr/lib/libcrypt_p.a -> libdescrypt_p.a -r--r--r-- 1 root wheel 1243522 Apr 22 18:52 /usr/lib/libcrypto.a lrwxr-xr-x 1 root wheel 14 Apr 22 18:52 /usr/lib/libcrypto.so -> libcrypto.so.2 -r--r--r-- 1 root wheel 782200 Nov 20 14:02 /usr/lib/libcrypto.so.1 -r--r--r-- 1 root wheel 759296 Apr 22 18:52 /usr/lib/libcrypto.so.2 -r--r--r-- 1 root wheel 1325596 Apr 22 18:52 /usr/lib/libcrypto_p.a ---------- I noticed also that the crypt function in some my perl scripts also to produce MD5 encoded passwords. I have large imported user database (DES encoded passwords) from FreeBSD 3.3 machine and I would preffer to have just one type of encoding for the passwords. Is there any way to make all my future passwords DES encoded. ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message