After installation of RedHat 6.2, using boot image boot-20000407.img and update-disk-20000419.img The root-user has still no password. And only user without password can log in. After a user xxx open a session we have in /var/log/messages Jul 24 16:45:00 linux login: PAM unable to dlopen (/lib/security/pam_cracklib.so) Jul 24 16:45:00 linux login: PAM [dlerror: libcrack.so.2: cannot open shared object file: No such file or directory] Jul 24 16:45:00 linux login: PAM adding faulty module: /lib/security/pam_cracklib.so Jul 24 16:45:02 linux PAM_pwdb[812]: (login) session opened for user xxx by (uid=0) I tried to install with shadow or md5 enabled or disabled During installation I have the message passwd: Module is unknown and after installation if I run passwd (under root or any user) I have the same message.
Do you have the "cracklib" package installed?
Solved. When I looked in the /tmp/install.log I saw "cracklib installed" and no error or warning. But the rpm file was corrupted. When I checked the package on my cdrom with rpm I got "does not appear to be a RPM package" I downloaded the package and installed it. Now it works. I have installed another linux with the same cdrom the day before and it was Ok. This is not a security problem but an installer problem. The install log didn't reports any errors. The installer just writes cracklib installed even if the package was corrupted !