Subject: Re: xlockmore-4.06.1, Anyone using this?
To: Chris Jewell <jewell@jewellce.es.dupont.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 01/02/1998 12:18:36
Chris Jewell wrote:
> 
> > Have you followed the directions in the README?  I don't know if it's
> > in there or not (I'm using 3.10 at the moment), but I'm pretty sure that
> > NetBSD requires that you define HAS_SHADOW when you compile so that it
> > knows to use the shadow passwd file and not the passwd file (which doesn't
> > actually contain the encrypted passwords so it can't be used for
> > authentication).
> > 
> 
> Where do I define HAS_SHADOW?  The README does not indicate this at all.

Well, now that I dig deeper, it appears that I cheated and simply made the
binary setuid root.  This might be required, but I'm not positive.

If you add this line towards the top of the Imakefile before you run
xmkmf, it should define HAS_SHADOW (although I'm no longer sure that this
is the correct thing to do )-:

#define HasShadowPasswd

Another option is to install the package system and get the package
version of xlockmore.  I'm pretty sure that it should compile and work
just fine under NetBSD.

I hope this helps some.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.