VMware Server: PAM unable to dlopen pam_unix2.so

时间:2020-02-23 14:45:17  来源:igfitidea点击:

在RedHat Enterprise Linux上使用VMware Server时,您可能会在日志文件/var/log/secure中遇到此错误:

PAM unable to dlopen(/lib/security/pam_unix2.so
PAM [error: /lib/security/pam_unix2.so: cannot open shared object file: No such file or directory]
PAM adding faulty module: /lib/security/pam_unix2.so

实际上,此错误似乎并未影响VMware Server的功能。
要解决这种情况并消除此错误,我们创建一个符号链接,如下所示:

ln -s /lib/security/pam_unix.so /lib/security/pam_unix2.so

(必须以root或者sudo完成)