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 :
ln -s /lib/security/pam_unix.so /lib/security/pam_unix2.so
(must be done as root – or sudo)