Solved

Redirect home directories in Debian to shared storage

Posted on 2012-03-27
2
286 Views
Last Modified: 2012-04-01
I'm trying to set up Debian users so their home directories would exist on a shared storage server.  The shared storage server is also running Debian.

Is there a way to set up new users so that their home directories would exist on the shared storage server?
0
Comment
Question by:sedberg1
2 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 37774829
Ya, you setup the NSF share on the server that will act as the storage, and you would mount the NSF resource as /home or /home/users if you want to distinguish between users i.e. local versus directory based ldap, nis, mysql defined users and that is all.
In /etc/fstab
server:/sharename nfs /home/users/
0
 
LVL 5

Expert Comment

by:1ly4me
ID: 37775429
Yes, You can mount shared storage locally as /home directory either via Samba or NFS.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now