LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-18-2006, 07:52 AM   #1
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Rep: Reputation: 15
File Sharing and Profile Roaming


Home Windows network at present dual booting Windows NTFS / kubuntu 5.10

I would like to put all my data (and for three other users) on a new server running only kubuntu.

Then I would like to be able to log on from any of the four client machines and access the data / profiles. I think if this is easy to set up Windows will be retired at that point... but there is always samba.

I would like each user to keep totally confidental access to their own data but share common application packages.

What tools do I use to set this up?
 
Old 04-18-2006, 08:25 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
this sounds like a job for:

ssh

I believe ssh to be extremely easy to set up and configure, so I won't go into any detail here, but what you can easily do is set up each user (authentication may be as simple or as complex as you like), and grant each user access only to whatever files you decide.

There's tons of ssh advice here at LQ, but by all means, we can continue in this thread if the need arises.

cheers,
 
Old 04-18-2006, 07:21 PM   #3
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
ssh?

I am not sure I understand.

ssh is a way of securely logging into a server? I do not know ssh at all. Would this mean then running all applications from the server rather than the local client? If that is the case it would make the network traffic quite interesting...

Is NFS of no value?

Best wishes..
 
Old 04-18-2006, 09:34 PM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
doh!

Indeed, I don't know what I was thinking in my initial reply. Holy-off-on-a-tangent, Batman.

Er, I'm a child of the 60's, will that suffice?

I could elaborate on the ssh and tell you it would work with sshfs, but....

NFS is a route to go, as long as you can find a Windows NFS client. Microsoft bundled one in its SFU package, but has discontinued support. It is still available for download, however you have to fill out a form. Which means you have to go through all that bother of making up fake stuff all over again.

I've checked all over for GPL Windows NFS clients without success, though sourceforge has a Windows NFS server, which one might 'think' would include a client, though a cursory glance didn't indicate one.

And, as you said in the initial post, there is always samba.

cheers,
 
Old 04-18-2006, 10:02 PM   #5
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
Well let us forget about Windows..... and focus on the problem. You know Linux. I know Windows. My thinking is really poor since I am thinking Windows. Please guide me.

I have not yet got NFS to work. Apparently it is easy. I think it is a pig.

However, let me ask a concern.

With NFS I understand that you map a client IP to an exported directory on the server. I understand that the client IP can map to only one directory irrespective of the user who logs in. So far so good.

But if you have a number of users who sit at a pc and use their user name to log in, they still get the common exported directory on the server. So the data of all users in that directory / sub directory can be seen.

How do you set the client or server up so that when a named user logs in he only sees his own data files?

I guess this is not hard. But if you do not know how ... it is difficult to know where to look ..
 
Old 04-19-2006, 08:54 PM   #6
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
To be honest, I've only ever used samba for linux-to-windows networking, and even for a linux-to-linux setup I have involving a thinclient.

However, I've always had NFS running 'just in case', and in the last couple of days I've been hacking away at it to see what's up.

So, I'm no expert, but what I have deduced, thus far, is that whilst you would export an NFS share to a particular IP, the normal Linux permissions still apply. So, if user 'Bob' is logged in on your Windows PC, and mounts the NFS share, he may only 'see' and use what he is entitled to see and use. So, if his directory on the NFS share is /home/Bob, and permissions on that directory are 0700, then only Bob can rwx there.

Hope I'm right, and hope this helps....


cheers,
 
Old 04-20-2006, 04:37 AM   #7
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
Many thanks for your input.

I think I still do not know if NFS is the right solution since it seems to me that if there are multiple users on one machine, the IP detected is going to be the same and the full data directory is therefore going to be presented showing all users all data.

Not quite what I want .... but perhaps I do not quite understand
 
  


Reply



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
Secure file sharing and roaming profile Retrievil_Knievil Linux - Security 6 03-24-2008 02:07 AM
non roaming profile on a roaming profile system fieldyweb Linux - Newbie 1 10-03-2005 12:27 PM
Roaming profile permissions.. Ateo Linux - Networking 3 12-24-2004 05:00 PM
disable samba roaming profile egyptian Linux - Networking 1 08-04-2004 04:06 PM
Samba - Roaming Profile problem wimdeg Linux - Software 0 11-02-2003 03:39 PM

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

All times are GMT -5. The time now is 04:10 AM.

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