Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 09:55:50 +0000
From:      Olafur Osvaldsson <oli@isnic.is>
To:        Dmitry Agafonov <aga@rsm.ru>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Password encoding
Message-ID:  <20020926095550.GB10763@isnic.is>
In-Reply-To: <200209260922.g8Q9MYR23427@sequel.rsm.ru>
References:  <200209260922.g8Q9MYR23427@sequel.rsm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry,
You should be able to set it in /etc/auth.conf, but that doesn't work for me.

You can instead run crypt_set_format("md5") to set the default for your prog
to md5 or blf for blowfish.

You could also make sure that your salts start with $<digit>$ wich would then
set the algorithm used in encryption, more info on this in the crypt(3) manpage.

/Oli

On Thu, 26 Sep 2002, Dmitry Agafonov wrote:

> Ok, how about more common question. How do I ask system crypt() to use MD5
> by default? /etc/make.conf or such?
> 
> --
> Dmitry
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

-- 
Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel:   +354 525-5291
Email: oli@isnic.is

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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