|
Network Home Directories for all |
|
Written by Chris Tangora
|
|
Monday, 07 July 2008 |
Found this handy "how-to" and thought I would pass it along as it seems like it would come in handy for people with multiple Macs in their home. A few command line edits and you can have a network home directory for each user. You still have to make a local user account on each machine, but it will pull the home directory from another Mac (via NFS). While this doesn't make much sense for a lab or small office, this would work well for a home with a few networked Macs. It uses bonjour for host resolution and NFS for mounting.
From Protecht.com
On the machine that you want to automount directories on, execute:
dscl -change Local/Default/Users/kate NFSHomeDirectory /Users/kate /home/kate
dscl will change the home directory of kate from the normal /Users/kate
to /home/kate. This step readies for the use of the automounter.
Edit /etc/auto_home to look like:
#
# Automounter map for /home
#
+auto_home # Use directory service
kate dining-room.local:/Users/kate
If it works for you, stop by Protecht.com and say thanks.
|