Jabesza
September 11, 2012, 3:22pm
1
hi there this is not a reply to this question, but another question… if you guys could point me in the right direction… I would like to know how to setup a folder shares in the root of opensuse with a user and password that only that user has full rights to that folder… I can share folders files etc but I wish to make them private, to others user…
Regards
jabesza
user
September 11, 2012, 5:39pm
2
On 09/11/2012 03:26 PM, Jabesza wrote:
>
> hi there this is not a reply to this question, but another question…
please do not post a new question buried inside a different thread…it
just gets the thread all confused with answers to questions that may not
exist
please ask your question in a new thread with a subject which is
related to your question.
thanks
–
dd
swerdna
September 11, 2012, 11:15pm
3
Jabesza:
hi there this is not a reply to this question, but another question… if you guys could point me in the right direction… I would like to know how to setup a folder shares in the root of opensuse with a user and password that only that user has full rights to that folder… I can share folders files etc but I wish to make them private, to others user…
Regards
jabesza
Make a directory e.g. fedreserve in the root with this command:
sudo mkdir /fedreserve
Make it owned by your user e.g. obama:
sudo chown obama:users /fedreserve
Add user obama to the Samba user database and give her a password with this command:
sudo smbpasswd -a obama
Create the share profile in the Samba configuration file to look like this:
[TheFunds]
path = /fedreserve
read only = no
force user = obama
valid users = obama
Only obama will be able to access fedreserve. If you want to make subtleties, look here: Secure Read-write Shares; no Guest Access (requires authentication)
and here: Special Purpose Modifications for Enhanced Privacy and/or Security
swerdna
September 11, 2012, 11:18pm
4
I will move this new thread to a new thread location in maybe 10 minutes, don’t fret dd
swerdna
September 12, 2012, 12:49am
5
Jabesza
September 12, 2012, 8:52am
6
thanks mate I will give it a try… I could kiss your feet! :X
swerdna
September 12, 2012, 11:30am
7
I’ve sent my address in a PM