From owner-freebsd-questions Sun Dec 9 7: 2:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns.webvolution.net (ns.webvolution.net [64.173.23.219]) by hub.freebsd.org (Postfix) with ESMTP id C54C237B41C for ; Sun, 9 Dec 2001 07:02:21 -0800 (PST) Received: (from nobody@localhost) by ns.webvolution.net (8.11.6/8.11.6) id fB9F2MJ05692 for freebsd-questions@FreeBSD.ORG; Sun, 9 Dec 2001 15:02:22 GMT (envelope-from dleal@webvolution.net) X-Authentication-Warning: ns.webvolution.net: nobody set sender to dleal@webvolution.net using -f To: freebsd-questions@FreeBSD.ORG Subject: encryption and master.passwd Message-ID: <1007910142.3c137cfe07344@mail.webvolution.net> Date: Sun, 09 Dec 2001 15:02:22 +0000 (WET) From: Daniel Leal MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! To learn a little bit of the freebsd security I decided to read the charpter 8 of the freebsd handbook. Soon I realize that passwords encrypted with the MD5 hash are longer than those encrypted with the DES hash and also begin with the characters $1$ and DES password strings does not include the $ character. So I did "more /etc/master_passwd" and I notice that mine and root's password (I am the one who su to root in that system) are encrypted with MD5 but the other users are encrypted with DES!!! Why? Did I do something wrong? How can I change it all to MD5 encryption? In my /etc/login.conf I have the following lines: (install defaults) ... default:\ :passwd_format=md5:\ ... Thanks, daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message