Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Simple samba share

Add in the end of the file /etc/samba/smb.conf
[samba]
comment = samba_share
path = /real_path/to/share
read only = no
guest ok = no
valid users user1,user2 (or @users for access group user to access samba share folder)


In a above uncheck line:
security user


With root access in new shell write this:
smbpasswd -a user1
If user1 not in group users write this:
usermod -a -G users user1

Create folder /real_path/to/share and write:
chmod -R 770 share
chown -R test:users share

If you whant to check somebody connect in samba share write this:
smbstatus



This post first appeared on Linux Command's, please read the originial post: here

Share the post

Simple samba share

×

Subscribe to Linux Command's

Get updates delivered right to your inbox!

Thank you for your subscription

×