Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 21:10:55 +1100
From:      Nick Slager <nicks@albury.net.au>
To:        Martti Kuparinen <martti.kuparinen@lmf.ericsson.se>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: passwd and libcrypt: got MD5 instead of DES
Message-ID:  <20001105211055.A86142@albury.net.au>
In-Reply-To: <Pine.BSF.4.21.0011031452550.701-100000@ws125.nomadiclab.com>; from martti.kuparinen@lmf.ericsson.se on Fri, Nov 03, 2000 at 02:58:08PM %2B0200
References:  <Pine.BSF.4.21.0011031452550.701-100000@ws125.nomadiclab.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Martti Kuparinen (martti.kuparinen@lmf.ericsson.se):

> 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

Change 'em to point to the libscript* libraries.


> 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?

Nothing; just that your crypt symlinks are pointing to the wrong
libraries at present.

The DES libs recognise MD5-style passwords and can deal with them if
they arise. I don't believe the reverse is true, however.


Nick

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."



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?20001105211055.A86142>