/etc/login.conf password formatting

Ceri Davies setantae at submonkey.net
Tue Jul 15 10:32:04 PDT 2003


On Tue, Jul 15, 2003 at 12:20:18PM -0500, Kris Yates wrote:
> Please send replies directly to me as I do not have time to check the 
> list as often as I would like..
> 
> Currently, it appears that some passwords on my system are DES, most are 
> MD5.  I found the following below recently, a suggestion to switch to 
> blowfish.  I am down with that!  If I change the following (as shown 
> below) in /etc/login.conf, will the system still decrypt the old DES and 
> MD5 entries, ie. nothing will break in this regard?
> 
>    :passwd_format=blf:\

Correct, but don't forget to rebuild the capability database afterwards
as mentioned at the top of /etc/login.conf.

Also, for completeness, you should also change the crypt_default line
in /etc/auth.conf to read:

crypt_default	=	blf md5 des

Ceri
-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
                                           -- www.chatterboxchallenge.com


More information about the freebsd-questions mailing list