Share folders via Samba without a password

By | September 8, 2013

Switching from Windows to Linux, the first thing might be to share folders on Linux with Windows. That will enable transferring files easily. In Linux, such operation is not always trivial. On Ubuntu, We need to install the samba to share files/folders. Here are instructions:

  1. install the samba package:

    sudo apt-get install samba

  2. edit the configure file /etc/samba/smb.conf.

  3. change information: security = share.

  4. add new section:

    comment = Ubuntu File Server Share 
    path = /srv/samba/share 
    browsable = yes 
    guest ok = yes 
    guest only = yes
    read only = no
    writable = True 
    create mask = 0755
  5. create directory and change the permission:

    sudo mkdir -p /srv/samba/share 
    sudo chown nobody.nogroup /srv/samba/share/
  6. restart the samba services to enable the new configuration:

    sudo restart smbd 
    sudo restart nmbd


Leave a Reply

Your email address will not be published. Required fields are marked *