Comment 8 for bug 112937

Revision history for this message
Walter Tautz (wtautz) wrote :

On gutsy AMD64 deb package the solution above of including common-auth and common-account DOES NOT work for
me. Instead I had to replace the pam configuration with:

auth sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix.so shadow nullok
auth required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so shadow nullok
account sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix.so
account required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so

#%PAM-1.0
@include common-auth
@include common-account

I got:
Jan 15 09:25:18 trainer vmware-authd[18472]: PAM adding faulty module: <*unknown module path*>
Jan 15 09:25:18 trainer vmware-authd[18472]: PAM (other) illegal module type: @include
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM pam_parse: expecting return value; [...common-account]
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM (other) no module name supplied
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM (other) illegal module type: @include
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM pam_parse: expecting return value; [...common-password]
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM (other) no module name supplied
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM (other) illegal module type: @include
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM pam_parse: expecting return value; [...common-session]
Jan 15 09:25:19 trainer vmware-authd[18472]: PAM (other) no module name supplied
Jan 15 09:25:40 trainer vmware-authd[18483]: PAM (other) illegal module type: @include
Jan 15 09:25:40 trainer vmware-authd[18483]: PAM pam_parse: expecting return value; [...common-auth]
Jan 15 09:25:40 trainer vmware-authd[18483]: PAM (other) no module name supplied
Jan 15 09:25:40 trainer vmware-authd[18483]: PAM unable to dlopen(<*unknown module path*>)
Jan 15 09:25:40 trainer vmware-authd[18483]: PAM [error: <*unknown module path*>: cannot open shared object file: No such file or dir
ectory]