Subject: Re: xlockmore-4.06.1, Anyone using this?
To: Colin Wood <cwood@ichips.intel.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 01/02/1998 12:14:54
> 
> 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.

The fact that it works for root and not anyone else makes me think it's
not a shadow paswword problem, but an access to shadow passwords problem.

I bet suid root is correct.

Take care,

Bill