"Module IS Unknown" to solve Passwd commands
/ ************************************************** ******************
* This article is first in BBS.BLUEGEM.ORG Linux District
* I email: chenfei@sohu.com
* If you reprinate this article, please keep the starting ground and your contact method for easy communication, thank you!
*********************************************************** **************** /
Background: Or the project of MINILINUX. I am blue in RH9, starting with something from a poor two white, and finally 2 1m. However, when executing the passwd command, the system report "Module IS Unknown" error, I use the LDD command to confirm all dynamic libraries related to Passwd, but still report the same error. Solution: I first use the # ldd / usr / bin / passwd to find the dynamic library related to the passwd command, and CP to the relevant system directory. Still have problems, I think that it is possible to be related to ldconfig, I have viewed LDConfig configuration file / etconfig, only related to Kerbro et al. In Google's check, foreigners say that there is a problem with PAM, what ldopen has a problem. But no one gives the exact answer. Later, I asked a friend, and he was also determined to be related to PAM, but it also said that it was not accurate and reasons. He recommended that I use strace to track, I will use # strace -o passwd.log passwd, save the running result to the passwd running results compared with the PASSWD operation in the normal system, and find the lack of library / usr / lib / Libcrack.so.3, plus in operation, or not, in the same way, find the lack of / usr / lib / crack_dict *. At this point, Passwd can run normally.
Units can't go on BBS, completely written, HOHO. It is important to solve the problem, but solve the problem.