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


Click here to return to the 'Re: Quick Fix' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: Quick Fix
Authored by: bjn on Apr 30, '02 09:28:10AM

If you only do "-appendprop" you end up with two values for the home property, the old value / and the new value you provided, and so the name service (getpwnam/getpwuid) still says that / is the home directory (it must pick the first one).

To get this to work, I had to also add a "-destroyprop" -- I don't know if that's the "right way" but it worked for me. So:

% sudo niutil -destroyprop / /users/<login> home /
% sudo niutil -appendprop / /users/<login> home <path>



[ Reply to This | # ]