LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2005, 02:38 PM   #1
kimothy
Member
 
Registered: Jun 2005
Location: Norway
Distribution: Slackware 11.0
Posts: 87

Rep: Reputation: 15
Unhappy Sharing In Between Computers [Mandriva 10.2]


Hi. I have Mandriva 10.2 installed on my computer. Im not the only one living in this house, so vi would like to share data between our compurers (I'm using Mandriva 10.2, my father is using Mepis and my brother is using Windows XP) so I createt a share folder in my home directory. I changed the settings of this folder so that owner, group and others can share and modify content. I also enabled sharing and installed samba. Both my father and brother could not write anything to my share folder (ACCESS DENIED). I then made my self a samba password([root@bebe kim]# smbpasswd -a kim) for my own user account on my computer. Then I could copy stuff to my computer, but if my brother and father get autorised with my password to my account they can access and modify any content in my home directory, and I don't want that. So then I made a new account, called guest, only for sharing. This guest account did not have any home direcory, only file sharing rights and it's own password and samba password. Even when they are autorised as guest they are not allowed to write anything to my share folder. Why?

To get around this problem i kind of tricked the system. I made a home folder for my guest account, only that it was not the usual '/home/guest/', but '/home/kim/Share/', and that works perfectly... But this is not the way to do it... Is it???

Thank for any reply :-)

Last edited by kimothy; 06-20-2005 at 02:48 PM.
 
Old 06-21-2005, 03:41 AM   #2
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
What I did on my server is each user (different people on PCs here at home) is also a Linux user on the server. That gives each one access to their own home directories but not to others. The next thing I did was to add a couple more harddrives (mounted under /mnt) and made them writable to everyone. The extra drives show up on windows pcs and can be read/written to from any user here at home. These extra drives is where all my backup, install files, pictures, etc are stored. Since I have access restricted in Samba from any IP other than the local LAN range I'm using, security from the internet isn't an issue.

You might find a little more info on my website:

http://roofrabbit.com/vsamba.html

Last edited by RoofRabbit; 06-21-2005 at 03:43 AM.
 
Old 06-21-2005, 04:16 AM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Nice work RoofRabbit..

How about adding these comments to the LQ Wiki site so it gets greater exposure?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing disk partitions between 2 computers tcma Linux - Networking 1 01-06-2005 11:58 AM
Sharing a printer for 30+ computers with Samba rjshirts Linux - Networking 1 01-05-2005 05:24 PM
2 computers one 2 OSes, need file sharing help. pee_pee Linux - Networking 6 07-24-2003 04:36 AM
File Sharing With Windows Computers John0 Linux - Newbie 2 05-25-2003 09:19 PM
[b]Problems sharing files between linux computers blaze Linux - Networking 5 11-27-2002 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration