From owner-freebsd-questions Fri Oct 22 16: 2: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 3C28A14CB6 for ; Fri, 22 Oct 1999 16:02:01 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id TAA33525; Fri, 22 Oct 1999 19:05:18 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910222305.TAA33525@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Converting passwords In-Reply-To: <380FB877.A449DA5B@peaker.net> from Matt Aaron at "Oct 22, 1999 01:05:59 am" To: peaker@peaker.net Date: Fri, 22 Oct 1999 19:05:18 -0400 (EDT) Cc: FreeBSD-Questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Aaron wrote, > Hello, > > I'm currently in the process of moving users accounts from a 3.0 machine > over to a different 3.2 one. Is there a way to convert the passwd > file? The 3.0 passwd file is MD5, while the 3.2 one is using > DES encoding. I don't have a listing of the passwords in plaintext > unfortunatly, so I need a way to decrypt them, if possible. If they were easy to decrypt, it would not be a very good password algorithm now would it? There is no practical way to convert encrypted passwords in one format to another (except to ask the users to re-enter them all again). However, you may be in luck. FreeBSD will have no trouble using both MD5 and DES passwords in the same file. If there is no other reason to try to convert them, you can just add the passwords as-is, and the OS will know how to handle them. IIRC, there is absolutely no configuration required for it to handle both types on a system that has DES installed. > I'm sorry if this sounds like a really strange problem, I'm about ready > to pull out my hair :-). It's actually a very frequent question. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message