From owner-freebsd-questions Fri Dec 14 19:40: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by hub.freebsd.org (Postfix) with ESMTP id 30B3237B416 for ; Fri, 14 Dec 2001 19:39:50 -0800 (PST) Received: (from root@localhost) by mail.27in.tv (8.11.6/8.11.6) id fBF3dmM21548; Fri, 14 Dec 2001 22:39:48 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from maxpower (trilluser@maxpower.lan.27in.tv [10.0.0.250]) by mail.27in.tv (8.11.6/8.11.6av) with SMTP id fBF3dkP21534; Fri, 14 Dec 2001 22:39:47 -0500 (EST) (envelope-from cjm2@earthling.net) From: "C J Michaels" To: "Daniel Leal" Cc: "FreeBSD Questions" Subject: RE: encryption and master.passwd Date: Fri, 14 Dec 2001 22:40:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1007923776.3c13b240e87b5@mail.webvolution.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Virus-Scanned: by AMaViS perl-11 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 believe that it depends upon what library /usr/lib/libcrypt.so is symlinked to at the time the password is set. --Chris -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Daniel Leal Sent: Sunday, December 09, 2001 1:50 PM To: Anthony Atkielski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: encryption and master.passwd yes, it worked! maybe you are right... I read the passwd man page and notice that passwd "read" the login.conf file where its writen: ... default:\ :passwd_format=md5:\ ... thanks Citando Anthony Atkielski : > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message