*BSD News Article 50138


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!hookup!solaris.cc.vt.edu!ussenterprise.async.vt.edu!not-for-mail
From: bicknell@ussenterprise.ufp.org (Leo Bicknell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: npasswd
Date: 4 Sep 1995 16:03:54 -0400
Organization: The bridge of the U.S.S. Enterprise, NCC-1701D.
Lines: 37
Message-ID: <42fm3a$r7c@ussenterprise.ufp.org>
References: <42d72u$ktg@ussenterprise.ufp.org> <42fapf$7r7@sol.ctr.columbia.edu>
NNTP-Posting-Host: ussenterprise.ufp.org
NNTP-Posting-User: bicknell

In article <42fapf$7r7@sol.ctr.columbia.edu>,
Bill Paul <wpaul@ctr.columbia.edu> wrote:
>The answer is: forget it, it won't work. Not the current version
>anyway. I don't even know how you got it to compile, since the
>pw_yp.c module uses the fgetpwent() and putpwent() functions
>which FreeBSD doesn't even have. Also, while it claims to have
>support for the 4.3 hash password database, it most certainly
>is not compatible with 4.4.

	Humm, as I recall I had to change a define in the makefile,
but that was it.  Also note that I am trying to compile it to
_ONLY_ be able to change yp passwords, there are no local passwords
for it to change.

>Again, I can't see how you got it to compile. Either you're
>using a different version than the one I have (1.2.4) or you
>did some hacking that you didn't think was important enough
>to share with us. The currently available release of npasswd

#ifndef lint
static char sccsid[] = "@(#)npasswd.c   1.18 12/20/91 (cc.utexas.edu)
/tmp_mnt/usr/share/src/private/ut/share/bin/passwd/SCCS/s.npasswd.c";
#endif

	Looks like it's 1.18.  

The options I have are -DFORCE_YP_CHANGE, -DBSD4_3, -DNDBM -DSYSLOG
-DXGETPASS -DXPUTPWENT -DXFGETPWENT

	Perhaps the best option is to modify the stock password
program then, or go back to doing crack runs...

-- 
Leo Bicknell - bicknell@ufp.org    | Make a little birdhouse
               bicknell@vt.edu     | in your soul......
               bicknell@cs.vt.edu  | They Might
http://www.ufp.org/~bicknell/      | Be Giants