markss Posted March 1, 2013 Share Posted March 1, 2013 I have tried few times to make shared folder in VMware/BackTrack but cannot make - mnt/hgfs folder in empty (in VMware shared folder in enabled and I have file inside it). VMware tools is installed. In Terminal: lsmod | grep vm -> vmw_balloon 12593 0 Is there foolproof tutorial to make shared folder in BackTrack? I use VMware 7 and BackTrack 5 R3. Quote Link to comment Share on other sites More sharing options...
r00tusr Posted March 6, 2013 Share Posted March 6, 2013 (edited) Create share directory:root@bt:~# pwd/rootroot@bt:~# mkdir sharedirroot@bt:~# cd sharedir/root@bt:~/sharedir# pwd/root/sharedirroot@bt:~/sharedir#(This is an example, you would not want to grant give root an smb password, this is the only account on my bt box. You would want to create a share user, and give that user a smb password.)Create samba password for user root:root@bt:~/sharedir# smbpasswd -a rootNew SMB password:Retype new SMB password:Added user root.root@bt:~/sharedir#Setup samba:root@bt:~/sharedir# vi /etc/samba/smb.conf(Use the netlogon portion as a template, and uncomment it. Add the following settings)[sharedir] comment = r00tusr's share path = /root/sharedir writeable = yes valid users = rootRestart samba serviceroot@bt:~/sharedir# service smbd restartsmbd start/running, process 1404root@bt:~/sharedir#Connect to samba share ( I run xubuntu with bt in vmware)Windows: (username : root , password is what you set with smbpasswd)Computer -> Map network drivePick drive letter:Folder: \\BACKTRACKVM-IP\sharedir(checkoff connect using different credentials, provide credentials)Linux: (username : root , password is what you set with smbpasswd)create mount point:user@xunbuntu:/$ mkdir /mnt/sharedirmount:user@xunbuntu:/$ sudo smbmount //BACKTRACKVM-IP/sharedir /mnt/sharedirunmount:user@xunbuntu:/$ sudo umount /mnt/sharedir Edited March 9, 2013 by r00tusr Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.