From owner-freebsd-questions Sun Nov 5 2:11:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from giroc.albury.net.au (giroc.albury.NET.AU [203.15.244.13]) by hub.freebsd.org (Postfix) with ESMTP id 7F6A337B479 for ; Sun, 5 Nov 2000 02:11:04 -0800 (PST) Received: (from nicks@localhost) by giroc.albury.net.au (8.11.1/8.11.1) id eA5AAuC86893; Sun, 5 Nov 2000 21:10:56 +1100 (EST) Date: Sun, 5 Nov 2000 21:10:55 +1100 From: Nick Slager To: Martti Kuparinen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: passwd and libcrypt: got MD5 instead of DES Message-ID: <20001105211055.A86142@albury.net.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from martti.kuparinen@lmf.ericsson.se on Fri, Nov 03, 2000 at 02:58:08PM +0200 X-Homer: Whoohooooooo! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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