Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 13:31:00 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Matt Harrington <matt@ucsd.EDU>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: vipw fails on DES passwords *URGENT*
Message-ID:  <20010611133100.A45161@itouchnz.itouch>
In-Reply-To: <000b01c0f215$685db2e0$3201a8c0@cosmo>; from matt@ucsd.EDU on Sun, Jun 10, 2001 at 06:25:29PM -0700
References:  <000b01c0f215$685db2e0$3201a8c0@cosmo>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                             "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010611133100.A45161>