LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2008, 12:13 PM   #1
RexCoeus
Member
 
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39

Rep: Reputation: 15
Mounting NFS home directories


I am trying to find a way to mount a single users home directory with NFS. Here is an example:

I have a centralized server that contains each users home directory stored in /home/(username) - Instead of mounting the entire home directory to each client computer, which would in turn show every other users home directory (although I realize with proper fs security it wont be a major issue), I want each client to only show the logged in users home directory. Can I use a wildcard? such as ... server:/home/$user /home/$user nfs defaults 0 0

I appreciate any help

Last edited by RexCoeus; 10-21-2008 at 01:06 PM.
 
Old 10-21-2008, 02:22 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well as you point out, proper file permission administration makes your concerns dissappear. in most implementations this is what happens, there really is no need to be as concerned as you are. Private enterprise projects I work on do this, commercial shell providers do this. if you want to mount on demand you would probably want to look at autofs to mount a directory based on a directory path, as without something which would provide a more worrying security hole (e.g sudo commands to mount in every users .profile) you aren't going to be able to have what you want. unix file permissions are the roxxorz. don't reinvent the wheel.
 
  


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
autofs nfs mounting home directories question extendedping Linux - Networking 3 01-30-2008 03:02 PM
FC6 broken with NFS-mounted /home directories? skellert Fedora 2 11-02-2006 10:37 PM
NFS Home directories for laptops IndustrialGeek Linux - Newbie 1 05-20-2004 09:27 AM
NIS/NFS and sharing home directories grebo Linux - Networking 1 09-21-2001 11:21 PM
NFS mounting directories 98steve600 Linux - General 1 01-24-2001 06:26 PM

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

All times are GMT -5. The time now is 09:06 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