Changing OS X Short Name
When my work laptop was originally set up the short name was set to “paul kehrer”. This space tends to cause issues with poorly written applications, especially on the command line, so I set out to change it. Prior to Leopard this was a difficult task best accomplished with ChangeShortName, but with Leopard you can now do it without any third party utilities.
First you’ll need to create a secondary admin account and log into that. While you can directly change the short name of an account you are logged into, I wouldn’t recommend it. Next, open system preferences, go to accounts, and right click the user you want to change. You’ll see a single menu item called “advanced options…”.
Choosing that will bring up a sheet that lets you change your user ID, group ID, short name, logins hell, home directory path, UUID, and add/remove aliases (other login names) for your account. While these are all very powerful tools we’re only going to use short name and home directory this time. In general it is safest to keep your short name and home directory path synchronized to avoid any issues that might arise from poorly written apps, but it is not required to change both. If you do change the home dir, then be aware that you’ll also need to run this command from the terminal to complete your account switch.
sudo mv /Users/oldshortname /Users/newshortname
Once you’ve done this you can log back in to the other account and you’re all set. Be aware that some apps do use hard coded paths for preferences, so you’ll probably have a few small issues to correct as you get up to speed.