On 11/11/2016 15:10, Noam Preil wrote:
> Hi,
> 
> In chapter 6, I built cracklib and then installed shadow. Everything seemed 
> fine until I entered "passwd root". Rather than asking for input, it just put 
> the following on standard output:
> 
> Changing password for root 
> Enter the new password (minimum of 5 characters) 
> Please use a combination of upper and lower case letters and numbers. 
> Bad password: too short.   
> Warning: weak password (enter it again to use it anyway). 
> passwd: password changed.
> 
> 
> 
> I tried "passwd" but the same thing happened. I uninstalled cracklib and 
> shadow, rebuilt shadow from scratch (including removing the source and 
> unpacking again), but the same thing happened.
> 
> I also tried disabling shadow passwords and running it again, but no matter 
> what I did, passwd never asked for input.
> 
> There were one or two unexpected failures in the gcc test suite, but nothing 
> "vastly different" from the normal results - both were probably a result of 
> the battery hitting critical and hibernating.
> 
> I am uncertain, but I may have restarted after I started Chapter 6 and 
> forgotten to rerun the "mount" commands. Would that cause this?
> 

I think so. "passwd" needs the virtual kernel filesystems to run properly.
What you see has nothing to do with cracklib.

Regards
Pierre


-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to