Monday, June 26, 2006

Shared Folder

My original implementation of "doknir" is based on feature called "Shared Folders" that is part of "VMware Tools". Unfortunately shared folders capability is enabled only in Workstation and ACE.

BTW, this feature was enabled in early beta of VMware Player, but it was disabled because of security reasons.

If we want to run "doknir" with free VMware products (Server and Player), we need to use another approach: first share folder in Windows XP and then mount it in "doknir". Details follow:

  1. In Control Panel (classic view) open "Folder Options", select "View" tab and disable "Use simple file sharing".
  2. In Control Panel open "User Accounts" and create user "doknir".
  3. Create strong password.
  4. Create folder in Windows host that you want to share with "doknir" virtual appliance.
  5. Right click on new folder and select "Sharing and Security ..."
  6. Select "Share this folder" and set "Share name" to "doknir"
  7. Click on "Permissions" and allow "Full Control". OK and Apply!
  8. Click on "Security" tab. (There is no security tab, if folder is located on FAT32 partition)
  9. Select group "Users" and allow "Full Control". Apply and OK!
  10. In Control Panel open "System" and select "Computer Name" tab. Remember "Full computer name".
  11. Go to the "doknir" virtual appliance and start Konsole. Enter "sux" into command line and press ENTER (default root password is doknir).
  12. Created folders /mnt/ntfs/doknir and /mnt/fat/doknir:
    mkdir -p /mnt/ntfs/doknir
    mkdir -p /mnt/fat/doknir
  13. Mount shared folder (replace text MASTER with computer name that you remember from step 10). The following line is for NTFS folder

    mount -t smbfs -o username=doknir,
    fmask=777,dmask=777,lfs
    //master/doknir /mnt/ntfs/doknir


    and the next line is for FAT folder

    mount -t smbfs -o username=doknir,
    fmask=777,dmask=777
    //master/doknir /mnt/fat/doknir

    In each case "doknir" will prompt you for password. Use the one from step 3.
  14. Read how to monitor shared folder ...

[]

No comments: