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]
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 vmware- server/ lib/libpam. so.0/security/ pam_unix_ auth.so shadow nullok vmware- server/ lib/libpam. so.0/security/ pam_unix. so vmware- server/ lib/libpam. so.0/security/ pam_unix_ acct.so
auth required /usr/lib/
account sufficient /usr/lib/
account required /usr/lib/
#%PAM-1.0
@include common-auth
@include common-account
I got: authd[18472] : PAM adding faulty module: <*unknown module path*> authd[18472] : PAM (other) illegal module type: @include authd[18472] : PAM pam_parse: expecting return value; [...common-account] authd[18472] : PAM (other) no module name supplied authd[18472] : PAM (other) illegal module type: @include authd[18472] : PAM pam_parse: expecting return value; [...common- password] authd[18472] : PAM (other) no module name supplied authd[18472] : PAM (other) illegal module type: @include authd[18472] : PAM pam_parse: expecting return value; [...common-session] authd[18472] : PAM (other) no module name supplied authd[18483] : PAM (other) illegal module type: @include authd[18483] : PAM pam_parse: expecting return value; [...common-auth] authd[18483] : PAM (other) no module name supplied authd[18483] : PAM unable to dlopen(<*unknown module path*>) authd[18483] : PAM [error: <*unknown module path*>: cannot open shared object file: No such file or dir
Jan 15 09:25:18 trainer vmware-
Jan 15 09:25:18 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:19 trainer vmware-
Jan 15 09:25:40 trainer vmware-
Jan 15 09:25:40 trainer vmware-
Jan 15 09:25:40 trainer vmware-
Jan 15 09:25:40 trainer vmware-
Jan 15 09:25:40 trainer vmware-
ectory]