From owner-freebsd-security Thu Sep 26 2:55:56 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACF8B37B401 for ; Thu, 26 Sep 2002 02:55:54 -0700 (PDT) Received: from amun.isnic.is (amun.isnic.is [193.4.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F06CC43E91 for ; Thu, 26 Sep 2002 02:55:53 -0700 (PDT) (envelope-from oli@amun.isnic.is) Received: from amun.isnic.is (oli@localhost [127.0.0.1]) by amun.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id g8Q9toIa032828; Thu, 26 Sep 2002 09:55:50 GMT (envelope-from oli@amun.isnic.is) Received: (from oli@localhost) by amun.isnic.is (8.12.3/8.12.3/Submit) id g8Q9tosD032827; Thu, 26 Sep 2002 09:55:50 GMT (envelope-from oli) Date: Thu, 26 Sep 2002 09:55:50 +0000 From: Olafur Osvaldsson To: Dmitry Agafonov Cc: freebsd-security@FreeBSD.ORG Subject: Re: Password encoding Message-ID: <20020926095550.GB10763@isnic.is> Mail-Followup-To: Dmitry Agafonov , freebsd-security@FreeBSD.ORG References: <200209260922.g8Q9MYR23427@sequel.rsm.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209260922.g8Q9MYR23427@sequel.rsm.ru> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 $$ 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