Contents

Previous Next

Adding User Names and Passwords to the VMware Workstation Samba Password File
You must be sure the Samba password file includes entries for all users of the virtual machine who will access the host's file system. The user names and passwords in the Samba password file must be the same as those used for logging on to the guest operating system.
You may add user names and passwords to the VMware Workstation Samba password file at any time from a terminal window on your Linux host computer.
1. Log on to the root account.
su
2. Run the VMware Workstation Samba password command.
vmware-smbpasswd vmnet1 -a <username>
<username>
is the user name you want to add. Follow the instructions on the screen.
Note: vmware-smbpasswd is based on the standard Samba password program. If you are familiar with the options used in smbpasswd, you may use any of them in vmware-smbpasswd.
3. Log out of the root account.
exit
You may receive an error message that says
Unknown virtual interface "vmnet1"
This indicates your machine is not using the VMware Workstation Samba server.
If your installation of VMware Workstation does not include the VMware Workstation Samba server and you want to set it up, log on to the root account on your host computer (su), then run vmware-config.pl from a terminal on the host. The configuration program asks
Do you want this script to automatically configure your system to allow your virtual machines to access the host file system?
Answer Yes.


Previous Next

© 1998-2004 VMware, Inc. All rights reserved.