From owner-freebsd-questions Fri Jan 5 6:49:10 2001 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 06:49:07 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 8280B37B400 for ; Fri, 5 Jan 2001 06:49:06 -0800 (PST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.1/8.11.1) id f05En4O35720; Fri, 5 Jan 2001 09:49:04 -0500 (EST) (envelope-from lowell) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org, fcasadei@inwind.it Subject: Re: how to set password format in /etc/login.conf References: <20010104154225.B482@junior.kasby> From: Lowell Gilbert Date: 05 Jan 2001 09:49:04 -0500 In-Reply-To: fcasadei@inwind.it's message of "4 Jan 2001 15:43:48 +0100" Message-ID: <44u27e3vhb.fsf@lowellg.ne.mediaone.net> Lines: 24 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG fcasadei@inwind.it (Francesco Casadei) writes: > 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? The passwd_format capability wasn't in 3.x. The suggestion in the last sentence will work well: before passwd_format was added, passwords were always encoded (if possible) with the same format as the password being replaced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message