2.0

Table Of Contents
VMware, Inc. 263
Chapter 11 Configuring a Virtual Network
;[system]
; comment = System share
; path = /
; valid users = username
; public = no
; browsable = yes
; writable = yes
; printable = no
Adding User Names and Passwords to the VMware Server Samba
Password File
YoumustbesuretheSambapasswordfileincludesentriesforallusersofthevirtual
machinewhowillaccessthehost’sfilesystem.Theusernamesandpasswordsinthe
Sambapasswordfilemustbethesameasthoseusedforloggingontotheguest
operatingsystem.
Youcan
addusernamesandpasswordstotheVMwareServerSambapasswordfileat
anytimefromaterminalwindowonyourLinuxhostcomputer.
To add user names and passwords to the VMware Server Samba password file
1Astherootuser,runtheVMwareServerSambapasswordcommand.
vmware-smbpasswd vmnet1 -a <username>
<username>istheusernameyouwanttoadd.Followtheonscreeninstructions.
2Logoutasroot.
exit
Ifthefollowingmessageisdisplayed:
Unknown virtual interface "vmnet1"
ThisindicatesyourmachineisnotusingtheVMwareServerSambaserver.
IfyourinstallationofVMwareServerdoesnotincludetheVMwareServerSamba
serverandyouwanttosetitup,logonastherootuseronthehost,andrun
vmware-config.plfromaterminalonthehost.
ToconfigureVMwareServercorrectly,thevmware-config.plconfigurationprogram
requiresallvirtualmachinestobeshutdown.Theprogramshutsdownanyrunning
virtualmachinesautomatically.
N
OTEvmware-smbpasswdisbasedonthestandardSambapasswordprogram.If
youarefamiliarwiththeoptionsusedinsmbpasswd,youcanuseanyofthemin
vmware-smbpasswd.