Date: 05 Jan 2001 09:49:04 -0500 From: Lowell Gilbert <lowell@world.std.com> To: freebsd-questions@freebsd.org, fcasadei@inwind.it Subject: Re: how to set password format in /etc/login.conf Message-ID: <44u27e3vhb.fsf@lowellg.ne.mediaone.net> In-Reply-To: fcasadei@inwind.it's message of "4 Jan 2001 15:43:48 %2B0100" References: <20010104154225.B482@junior.kasby>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u27e3vhb.fsf>