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