From owner-freebsd-questions Sun Jun 10 18:31: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 0E60737B401 for ; Sun, 10 Jun 2001 18:31:04 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f5B1V0P45428; Mon, 11 Jun 2001 13:31:00 +1200 (NZST) (envelope-from jonc) Date: Mon, 11 Jun 2001 13:31:00 +1200 From: Jonathan Chen To: Matt Harrington Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vipw fails on DES passwords *URGENT* Message-ID: <20010611133100.A45161@itouchnz.itouch> References: <000b01c0f215$685db2e0$3201a8c0@cosmo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000b01c0f215$685db2e0$3201a8c0@cosmo>; from matt@ucsd.EDU on Sun, Jun 10, 2001 at 06:25:29PM -0700 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 On Sun, Jun 10, 2001 at 06:25:29PM -0700, Matt Harrington wrote: > > > 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. vipw handles DES passwords fine. What I suspect is that the format of your password file doesn't match the FreeBSD one. If you look at the number of fields, you'll see that under vipw, FreeBSD has *more* fields than a standard UNIX /etc/passwd. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message