Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Concrete example' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Concrete example
Authored by: gatorparrots on Feb 18, '05 03:05:45PM
This technique can be accomplished with the GUI utility /Utilities/NetInfoManager.app or with command line tools. To append a second home directory entry for the currently logged in user, go to the Terminal and type in this command:
sudo niutil -appendprop . /users/$USER home /some/where
(You will need to enter your administrator password.) Or to change the settings on another user account, enter something analagous to this command:
sudo niutil -appendprop . /users/someotheruser home /some/where/else


[ Reply to This | # ]
setting the home directory value in NetInfo
Authored by: gatorparrots on Feb 19, '05 08:28:20PM
Based on the comments below and further testing, it seems as if one cannot effectively have two simultaneous home directory entries in NetInfo; rather, one should simply overwrite the home value in the database, rather than appending a second entry. The proper command for that is:
sudo niutil -createprop . /users/someuser home /some/where


[ Reply to This | # ]