1. Manfully change home directory in user->Advance Options.
2. Through command line.
2. Through command line.
sudo dscl . -change /Users/$USERNAME NFSHomeDirectory $OLDPATH $NEWPATH
Note: Replace '
$USERNAME
' with username.
Replace '
$OLDPATH
' with old home directory.
Replace '
$NEWPATH
' with new directory.
转载于:https://blog.51cto.com/huifu/1144451