From owner-freebsd-questions Thu Jan 11 7:33:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from server.elehost.com (unknown [209.82.34.250]) by hub.freebsd.org (Postfix) with ESMTP id E224A37B404 for ; Thu, 11 Jan 2001 07:33:12 -0800 (PST) Received: from GRAYWOLF.utoronto.ca (paul.elehost.com [207.245.11.22]) by server.elehost.com (8.11.1/8.11.1) with ESMTP id f0BFKv827137 for ; Thu, 11 Jan 2001 10:20:57 -0500 (EST) Message-Id: <5.0.2.1.2.20010111101725.034f46c8@mail.elehost.com> X-Sender: pc.mackenzie@mailbox21.utcc.utoronto.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 11 Jan 2001 10:34:01 -0500 To: freebsd-questions@FreeBSD.ORG From: Paul MacKenzie Subject: Switch from MD5 to DES on 4.2 FreeBSD: cannot set password cipher Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have been working to allow some old user accounts to work with their DES passwords on a new FreeBSD 4.2 machine. So far I have followed the procedure 1) Replace the symlinks on the libcrypt so they now appear as: lrwxr-xr-x 1 root wheel 13 Jan 11 09:49 libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 14 Jan 11 10:07 libcrypt.so -> libdescrypt.so lrwxr-xr-x 1 root wheel 16 Jan 11 09:52 libcrypt.so.2 -> libdescrypt.so.2 lrwxrwxrwx 1 root wheel 15 Jan 1 2000 libcrypt_p.a -> libdescrypt_p.a This worked well and the users can now log in. However here is the catch :), I want to have the new passwords to be MD5 generated. I have added the appropriate line in the login.conf :passwd_format=MD5:\ After recompiling the database, I get the following problem when trying to change a password for both DES passwords and MD5 passwords (in the passwd file): Changing local password for userhose. New password: Retype new password: passwd: cannot set password cipher: Undefined error: 0 passwd: /etc/master.passwd: unchanged I tried setting the system so that DES passwords would be issued and I still get the same error. Any help would be very appreciated, Once again the system was on MD5 and I migrated it to DES, but can not issue a new password that is EITHER MD5 or DES after the symlinks are changes as show above, Any ideas Thanks Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message