Chew, Darren schrieb:
G'day,

I'd like to know how to restrict access to the [homes] share. Currently, each user is able to read/write to his/her own share, and by typing \\machine\anotheruser can open another user's share and read/write there too. I would like to restrict access so that a user can only read/write to their own share only.





[homes] comment = Home Directories path = /home/samba/%S force group = nobody read only = No browseable = No

set the owner of /home/samba/<username> to the given owner, set access for directories and files to 0700 in smb.conf use:

creation mode = 0700
directory mode = 0700

so nobody than the given user has access...


I have tried using the "valid users" line but when I put it in I can't open my home share. I am using Red Hat Linux 8.0 and Samba 2.2.7a (from rpm). Any help is greatly appreciated. Thanks.


Darren
-------------------------------------------------
This mail was sent using Scout WebMail
https://webmail.vicscouts.asn.au/



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to