Date: Thu, 13 Apr 2000 10:25:12 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Krassimir Slavchev <krassi@bulinfo.net> Cc: freebsd-isp@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: MD5 passwords only? Message-ID: <4580.955614312@axl.ops.uunet.co.za> In-Reply-To: Your message of "Thu, 13 Apr 2000 10:32:11 %2B0300." <38F577FA.2E55D475@bulinfo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Apr 2000 10:32:11 +0300, Krassimir Slavchev wrote: > I transferred some Linux users with DES encrypted passwords to > FreeBSD-3.4 box. > After installing DES package FreeBSD accept both MD5 and DES passwords. > I wish all my users have MD5 passwords. > To do this i need to make new utility (like passwd) to replace DES with > MD5 password when user change their password. > It is possible to change the src files of passwd program so it use MD5 > encrypt library or DES library, but force MD5 crypt? No. However, modern FreeBSD systems will use the appropriate crypt code for both DES and MD5 existing passwords. The limitation is that _new_ passwords must be one or the other -- users can't choose. This is not a problem for you. There's a section covering this in the FreeBSD Handbook. See this web page: http://www.freebsd.org/handbook/crypt.html All you need to do is replace the symbolic links which currently point to libdescrypt, with links that point instead to libscrypt. To prevent ``make world'' from toasting these symbolic links in future, add this to your /etc/make.conf: NODESCRYPTLINKS=true HINT TO FAQ CONTRIBUTORS: This advice could be added to the existing documentation. :-) Ciao, Sheldon. 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?4580.955614312>