Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a vmware guest in vmware workstation. I can start or stop the VM using vmrun but runProgramInGuest and runScriptInGuest are failing with invalid username or password in guest, however the username and password are both valid. Vmware tools are installed in guest.

vmrun version: 1.10
vmware WS 7.0

Any help will be greatly appreciated.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

vmware tools try to use /lib/security/pam_unix2.so wich not exist. Creating a link from pam_unix.so it works.

ln /lib/security/pam_unix.so /lib/security/pam_unix2.so
share|improve this answer
    
In my case, I had to do ln -s /lib/i386-linux-gnu/security /lib/security, but your post was what made me look more closely at the output of strace -p $(pgrep vmtoolsd) -e open. Thanks a lot, man! –  atzz Aug 12 '11 at 8:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.