These commands need to be ran as root. Enable root using Directory Utility. Then either log in as root or an administrator. If logged in as an administrator type su in the terminal to switch to root access. My old short user name was 00rogeja and my new short user name is 00jasonrogers
Note: replace what is in quotes with your own information and do not use the quotation marks. The scripts will not work if they are used. Also after each line of commands press the return button before going on the the next line.
# Copy the user's current home directory and rename it to the shortname of their new home directory on your new server.
Commands:
cd /Users
ditto -V "00rogeja" "00jasonrogers"
##################################################
# Remove the user's plist file from /var/db/dslocal/nodes/Default/users/
cd /var/db/dslocal/nodes/Default/users
rm "00rogeja.plist"
##################################################
#Bind computer to new server
In 10.6 go to > System Preferences > Accounts > Login Options > Join
In 10.5 go to Applications > Utilities > Directory Utility
##################################################
# Change permissions for newly created home directory.
cd /Users
chown -R "00jasonrogers" "00jasonrogers"
##################################################
# Restart Computer
shutdown -r now