From owner-freebsd-questions Sun Jun 10 18:26:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 24AF537B403 for ; Sun, 10 Jun 2001 18:26:32 -0700 (PDT) (envelope-from matt@ucsd.EDU) Received: from cosmo ([63.201.91.142]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0GEQ006WYRZN6E@mta6.snfc21.pbi.net> for freebsd-questions@freebsd.org; Sun, 10 Jun 2001 18:26:12 -0700 (PDT) Date: Sun, 10 Jun 2001 18:25:29 -0700 From: Matt Harrington Subject: vipw fails on DES passwords *URGENT* To: freebsd-questions@freebsd.org Message-id: <000b01c0f215$685db2e0$3201a8c0@cosmo> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: High X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Priority: 1 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 have an /etc/passwd file from another UNIX system which uses DES passwords. My /etc/passwd on FreeBSD appears to use MD5 passwords, but I did make changes in /usr/lib to allow DES passwords to be recognized by NIS. (Basically, I'm getting rid of NIS and want to merge the password file from my old NIS master server into my FreeBSD's passwd file.) I also made the proper change to /etc/login.conf. What else do I need to do? Can't "vipw" process DES passwords? I've appended the output from "vipw", info about my libcrypt links in /usr/lib, and an excerpt from /etc/login.conf. Any quick responses would be greatly appreciated. I'm in a maintenance window right now and would like to get this done before my users sign on in the morning. please excuse the obnoxious "*URGENT*" bit in the Subject. :) ---Matt "vipw" fails with this error: vipw: rebuilding the database... pwd_mkdb: corrupted entry pwd_mkdb: at line #30 pwd_mkdb: /etc/pw.O42780: Inappropriate file type or format re-edit the password file? [y]: line #30 is the beginning of the file i read in. Here's what I have in /usr/lib: msg# ls -l *crypt* lrwxr-xr-x 1 root wheel 13 Nov 28 2000 libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 14 Nov 28 2000 libcrypt.so -> libdescrypt.so lrwxr-xr-x 1 root wheel 16 Nov 28 2000 libcrypt.so.2 -> libdescrypt.so.2 lrwxr-xr-x 1 root wheel 15 Nov 2 2000 libcrypt_p.a -> libdescrypt_p.a -r--r--r-- 1 root wheel 1259976 Nov 28 2000 libcrypto.a lrwxr-xr-x 1 root wheel 14 Nov 28 2000 libcrypto.so -> libcrypto.so.1 -r--r--r-- 1 root wheel 782240 Nov 28 2000 libcrypto.so.1 -r--r--r-- 1 root wheel 1173232 Jul 28 2000 libcrypto_p.a -r--r--r-- 1 root wheel 16250 Nov 28 2000 libdescrypt.a lrwxr-xr-x 1 root wheel 16 Nov 28 2000 libdescrypt.so -> libdescrypt.so.2 -r--r--r-- 1 root wheel 11712 Nov 28 2000 libdescrypt.so.2 -r--r--r-- 1 root wheel 18224 Nov 2 2000 libdescrypt_p.a -r--r--r-- 1 root wheel 9382 Nov 28 2000 libscrypt.a lrwxr-xr-x 1 root wheel 14 Nov 28 2000 libscrypt.so -> libscrypt.so.2 -r--r--r-- 1 root wheel 6460 Nov 28 2000 libscrypt.so.2 -r--r--r-- 1 root wheel 10132 Nov 2 2000 libscrypt_p.a from /etc/login.conf: default:\ :passwd_format=des:\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message