Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2001 13:40:03 +0000
From:      User Lalev <alalev@uni-svishtov.bg>
To:        freebsd-questions@freebsd.org
Subject:   Help with md5 and des passwords
Message-ID:  <3AF15FB3.1D3C46C0@uni-svishtov.bg>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF15FB3.1D3C46C0>