gyaresu.org

4 July 2008

Share folders via Samba without a password

The important bit is ‘force user’ and ‘force group’ otherwise your local user won’t have permissions to the shared directory.

sudo apt-get install samba

/etc/samba/smb.conf

Changes:

security = share

guest account = nobody

[stuff]
writeable = yes
path = /stuff
public = yes
guest ok = yes
guest only = yes
guest account = nobody
force user = gyaresu
force group = users
browsable = yes

sudo /etc/init.d/samba restart

Filed under: linux — gyaresu @ 10:59 am

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress