From owner-freebsd-questions Sun Nov 5 3:48:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 1252137B4CF for ; Sun, 5 Nov 2000 03:48:07 -0800 (PST) Received: from husten.security.at12.de (dial-213-168-64-206.netcologne.de [213.168.64.206]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id MAA29902; Sun, 5 Nov 2000 12:48:04 +0100 (MET) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by husten.security.at12.de (8.11.1/8.11.1) with ESMTP id eA5Blsi58979; Sun, 5 Nov 2000 12:47:54 +0100 (CET) (envelope-from pherman@frenchfries.net) Date: Sun, 5 Nov 2000 12:47:53 +0100 (CET) From: Paul Herman To: Nick Slager Cc: Martti Kuparinen , Subject: Re: passwd and libcrypt: got MD5 instead of DES In-Reply-To: <20001105211055.A86142@albury.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 5 Nov 2000, Nick Slager wrote: > 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. > Nah, the libdescrypt libraries are OK. libdescrypt handles both DES and MD5. Because of the new export laws, libscrypt is now more or less obsolete. Better just to alter "passwd_format" in login.conf. You would probably want "passwd_format=des". Check the login.conf(5) manpage. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message