[Pkg-shadow-devel] nscd related messages from passwd

Matthew Burgess matthew at linuxfromscratch.org
Tue Feb 14 16:55:55 UTC 2012


Hi,

Testing the recently released shadow-4.1.5, I see the
following messages when trying to change a password:

Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
New password: 
Re-enter new password: 
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: password changed.

On this particular box, nscd is installed but the daemon doesn't run by
default.

I think that has led to './configure' enabling the '--with-nscd' switch
which then makes 'passwd' try to flush the cache, which obviously fails.

I'm wondering what the correct fix is here?  I'd ordinarily suggest
to myself that I use configure's '--without-nscd' switch but for the
fact that I didn't have to do this with previous versions, so it's
technically a regression in Shadow.

Also note that although I get all of that rather ugly output, the
password was successfully changed, and therefore the fact that the
nscd cache couldn't be flushed didn't really need to be printed to
the screen, or did it?

Thanks,

Matt.
[please keep me Cced, thanks!]




More information about the Pkg-shadow-devel mailing list