From owner-freebsd-questions Sun Dec 9 7: 9: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id B0D7537B405 for ; Sun, 9 Dec 2001 07:09:00 -0800 (PST) Received: from contactdish (contactdish.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fB9F8fx24422; Sun, 9 Dec 2001 16:08:46 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <059c01c180c3$66b6f950$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Daniel Leal" , "FreeBSD Questions" References: <1007910142.3c137cfe07344@mail.webvolution.net> Subject: Re: encryption and master.passwd Date: Sun, 9 Dec 2001 16:08:41 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 I've noticed this, too. Some accounts have a DES password, others have an MD5 password. I just changed the password on one of my user accounts with the passwd command, and it changed from a DES password to a MD5 password. My impression is that different programs use different encryption methods for the password, with some using DES, and others use MD5. True? ----- Original Message ----- From: "Daniel Leal" To: Sent: Sunday, December 09, 2001 16:02 Subject: encryption and master.passwd > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message