When a program is run in a VM using vmrun from the host, the user account
is not checked for a valid shell. This changes adds this to the pam
configuration for vmtoolsd.
Note that /sbin/nologin is a valid shell in CentOS and RHEL, but
not in Ubuntu. Valid shells are those that are listed in /etc/shells.
#%PAM-1.0
+auth required pam_shells.so
auth sufficient pam_unix.so shadow
auth required pam_unix_auth.so shadow
+account required pam_shells.so
account sufficient pam_unix.so
account required pam_unix_acct.so