passwd doesn't work after shadow compilation

Joe Ciccone jciccone at
Fri Aug 4 10:29:21 PDT 2006

Ken Moffat wrote:
> I've seen this if you don't specify --sysconfdir=/etc : stuff like
> /etc/login.defs is in /usr/etc, and passwd ends with code 1.  You
> will also find a lock file which needs to be deleted, I think that
> really was in /etc in my case.
>  If that was the problem, it also causes an error message when trying
> to sed the non-existent /etc/login.defs but that is easily missed.
Saw this after I already sent  my mail response :/

More information about the cross-lfs mailing list