Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 15:42:25 +0100
From:      Francesco Casadei <fcasadei@inwind.it>
To:        freebsd-questions@freebsd.org
Subject:   how to set password format in /etc/login.conf
Message-ID:  <20010104154225.B482@junior.kasby>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010104154225.B482>