Date: Fri, 3 Nov 2000 14:58:08 +0200 (EET) From: Martti Kuparinen <martti.kuparinen@lmf.ericsson.se> To: freebsd-questions@freebsd.org Subject: passwd and libcrypt: got MD5 instead of DES Message-ID: <Pine.BSF.4.21.0011031452550.701-100000@ws125.nomadiclab.com>
next in thread | raw e-mail | index | archive | help
Hi! I changed my password on our NIS server (FreeBSD 4.2-BETA) and now my password is MD5 instead of DES. This is not good as we have hosts in our network which don't speak MD5. Here are the libcrypt links: lrwxr-xr-x 1 root wheel 13 Nov 2 14:06 libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 14 Nov 2 14:06 libcrypt.so -> libdescrypt.so lrwxr-xr-x 1 root wheel 16 Nov 2 14:06 libcrypt.so.2 -> libdescrypt.so.2 lrwxr-xr-x 1 root wheel 15 Nov 2 14:06 libcrypt_p.a -> libdescrypt_p.a So libcrypt.* are symlinks to the DES variants. This is the output from "ktrace passwd user": 12356 passwd NAMI "/usr/lib/libcrypt.so.2" ... Once again, the passwd command should be using the DES variant of the crypt libraries as expected. No matter what I do, I get this: # passwd user Changing NIS password for user on localhost in domain xxxxx. New password: Retype new password: NIS password has been changed on localhost. # grep ^user /var/yp/master.passwd user:$1$v.Pe7YE9$IQ2fKW5/iYAF8K44FJTmF/:1000:1000::0:0:User Name:/home/user:/bin/bash So the password is MD5 instead of DES! What am I doing wrong? Please CC: me with the answer as I'm not on this list. Thanks in advance, Martti Kuparinen 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?Pine.BSF.4.21.0011031452550.701-100000>