From owner-freebsd-questions Thu Feb 1 17:36:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail2.sdc1.sfba.home.com (femail2.sdc1.sfba.home.com [24.0.95.82]) by hub.freebsd.org (Postfix) with ESMTP id E1B2D37B699 for ; Thu, 1 Feb 2001 17:36:32 -0800 (PST) Received: from C1052484A ([24.5.25.254]) by femail2.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010202013610.HMOW27594.femail2.sdc1.sfba.home.com@C1052484A> for ; Thu, 1 Feb 2001 17:36:10 -0800 Message-ID: <001d01c08cb8$a6177480$0100a8c0@mshome.net> From: "David Schultz" To: References: <000d01c08c23$ecc5bda0$1401a8c0@tedm.placo.com> Subject: Re: Problem with DES/MD5 Date: Thu, 1 Feb 2001 17:37:05 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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 X-Loop: FreeBSD.ORG From: "Ted Mittelstaedt" > Uh, Chris, have you tried > > man login.conf > > On the 4.2 system? Here's the snippit: > passwd_format string md5 The encryption format that new or > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > changed passwords will use. I note that this does not always work, even with libdescrypt installed. If the format is changed in login.conf and a user uses passwd to change a password, the format remains what it was before. It may be necessary to remove the password manually with vipw and then change it as root. If you want DES, leave $1$ at the beginning of the password in vipw; otherwise, leave it blank or with garbage. (Just make sure you change it.) FYI, libdescrypt handles both formats. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message