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


Click here to return to the 'Caution: Do not rename a user's home folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Caution: Do not rename a user's home folder
Authored by: jelmore49 on Jul 21, '07 09:32:26AM

If you ever want to change your short user name on purpose, Apple provides a solution -- at 40 steps, this is not something to undertake lightly.

I've got a better solution, straight from my Apple Support Essentials class notes. It works best if you're not doing it when logged in as the user is question -- logging is as another admin user works best.

  • Enter this from the Terminal: sudo mv /Users/olduser /Users/newuser
  • Go to Account Preferences and delete "olduser". OS X will not prompt for deletion of home directory, since it's not there.
  • Create user with shortname "newuser"; the Accounts pane will detect the newuser home directory and ask if you want to use it; confirm it, and OS X will change ownership of the new folder and its contents to the new UID.

Obviously, you should replace "olduser" and "newuser" with the appropriate usernames on your machine. And also, this does not work with encrypted home folders.



[ Reply to This | # ]
Caution: Do not rename a user's home folder
Authored by: thirdrockphoto on Jul 23, '07 06:58:53PM

"If you ever want to change your short user name on purpose, Apple provides a solution -- at 40 steps"

Simpler: Create a new admin account called "test" and be sure it has your preferred short name. Login as "test", delete the original user. It will become a disk image owned by "test". In the Accounts pane of System Preferences, rename "test" to your real name (doesn't affect short name). Copy any and all files from the disk image to your new user.



[ Reply to This | # ]