Samba-sharing a folder without passwords on Knoppix

When trying to access a crashed laptop 2.5″ hard drive, I found myself a bit stuck when trying to share the entire drive on a Windows network. Accessing Windows shares from a linux box is really easy with Samba, but sharing a directory without any passwords was a bit more difficult…

Knoppix found the USB disk without any problems, but sharing the drive required a few more steps.

Finally I found a page with some helpful tips:

  • Edit the /etc/samba/smb.conf file
  • Replace “security=user” with “security=share”
  • Add something like this to the file:
    [sharename]
    public=yes
    writeable=no
    path=/mnt/uba1
    guest ok=yes
    browsable=yes

    Then a quick /etc/init.d/samba restart did it.

  • Leave a Reply