VMware Server : PAM unable to dlopen pam_unix2.so

By | November 8, 2011

Using VMware Server on RedHat Enterprise Linux, you may expect this error in log file /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

Actually, this error does not seem to affect the functionality of VMware Server. To work around this situation and get rid of this error, let’s create a symbolic link like this :

(must be done as root – or sudo)