Redirecting /home for each user
Posted: Sat Feb 23, 2013 2:31 pm
I am setting up Amahi for a client. I noticed that among the Amahi shares that come up there is a user share. (For example, if a create a user called "Bob" there is a Bob directory among the shares.) This folder links to the home folder of that user in Fedora (or in Ubuntu I would assume.)
Here is the problem: If one installs the OS and Amahi on a primary hard drive and then one uses a larger separate storage drive for shares, user shares will fill up space quickly on the OS drive.
Possible solution?: Create a share called "Users" at /var/hda/files/Users. Within that share, create a share for the specified user (e.g. Bob). Create a link that mounts the /home/Bob directory at /var/hda/files/Users/Bob location.
Questions:
-How do I do the link above? (I think I could do it but it would be great to hear from someone else just in case I forgot a step.)
-Can Amahi be adapted to offer this option? (For example: adding "Location of Home Share" under each users information and settings on the Amahi Dashboard under "Users")
-Is there a script that could be created in the meantime that could simplify this process?
Here is the problem: If one installs the OS and Amahi on a primary hard drive and then one uses a larger separate storage drive for shares, user shares will fill up space quickly on the OS drive.
Possible solution?: Create a share called "Users" at /var/hda/files/Users. Within that share, create a share for the specified user (e.g. Bob). Create a link that mounts the /home/Bob directory at /var/hda/files/Users/Bob location.
Questions:
-How do I do the link above? (I think I could do it but it would be great to hear from someone else just in case I forgot a step.)
-Can Amahi be adapted to offer this option? (For example: adding "Location of Home Share" under each users information and settings on the Amahi Dashboard under "Users")
-Is there a script that could be created in the meantime that could simplify this process?