x2升级成功后,登录时报PAM unable to dlopen(/usr/lib64/security/pam_cracklib.so): /usr/lib64/security/pam_cracklib.so: cannot open shared object file: No such file or directory

问题描述:
x2升级成功后,登录时报PAM 如下错误:

unable to dlopen(/usr/lib64/security/pam_cracklib.so): /usr/lib64/security/pam_cracklib.so: cannot open shared object file: No such file or directory

1 Like

解决办法:
注释配置文件/etc/pam.d/system-auth中包含pam_cracklib.so的行,如下所示:

#password requisite pam_cracklib.so difok=3 minlen=8 ucredit=-1 lcredit=-1

1 Like