From owner-freebsd-questions Thu Jan 4 6:43:38 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 06:43:34 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from relay3.inwind.it (relay3.inwind.it [212.141.53.74]) by hub.freebsd.org (Postfix) with ESMTP id 0B62237B402 for ; Thu, 4 Jan 2001 06:43:30 -0800 (PST) Received: from [62.98.55.36] (62.98.55.36) by relay3.inwind.it (5.1.056) id 3A40BF86002D3286 for freebsd-questions@freebsd.org; Thu, 4 Jan 2001 15:43:24 +0100 Received: (qmail 571 invoked by uid 1001); 4 Jan 2001 14:42:25 -0000 Date: Thu, 4 Jan 2001 15:42:25 +0100 From: Francesco Casadei To: freebsd-questions@freebsd.org Subject: how to set password format in /etc/login.conf Message-ID: <20010104154225.B482@junior.kasby> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To support apache with frontpage2000 extensions I had to symlink libcrypt to libdescrypt: root(117)# ls -l libcrypt* lrwxr-xr-x 1 root wheel 13 Jan 4 12:03 libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 13 Jan 4 12:10 libcrypt.so -> libcrypt.so.2 lrwxr-xr-x 1 root wheel 16 Jan 4 12:09 libcrypt.so.2 -> libdescrypt.so.2 lrwxr-xr-x 1 root wheel 15 Oct 1 03:32 libcrypt_p.a -> libdescrypt_p.a As explained in section 8.4 of the handbook (cvsupped recently), DES libraries are able to use MD5 passwords, but use DES passwords by default, unless the 'passwd_format' capability in /etc/login.conf is set to md5. This system is FreeBSD 3.5-STABLE and the passwd_format capability is not mentioned in login.conf(5) man page. How do I set the password format to MD5? If I create a new user, put $1$ in the 2nd field of /etc/master.passwd and then use passwd to change the password, that will do the trick? Francesco Casadei To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message