rcmdnk's blog

Mac OS Xでアカウント名を変更する方法
20160519_userdetails_200_200

If you set a user account of OS X w/o thought and become to eager to change the account name, there are actually some problems.

Sponsored Links

Account in Mac OS X

Account name and registered Full name are different.

Account name is used for such home directory.

When you set up OS X, if you set only Full name, then Account name is automatically set. It is like a combination of Full name.

If you use non-alphabet characters, it may be alphabets with wrong sound.

Therefore, it is much better to decide *Account name by yourself.

how to change an account name

Of course, you can change Account name later.

But it is not straightforward.

If you go Users & Groups in System Preferences, there seems only a setting of Change Password, but no menu to change Account name.

To find such a menu, first unlock further changes by clicking the left lower key and put administrator password.

Then, right click (or + click) a user, which you want to change, in the left side bar.

20160519_user.jpg

It will show Advanced Options, so click it. It will launch advanced options page and there you can change Account name.

20160519_userdetails.jpg

New account name should be different from any of existing accounts.

Usually you have only one account with administrator right, but if you don’t have any account of administrator, you need to create one administrator account and work with it. (Need to logout and login as the administrator account.)

You can change only Account name, but normally Home directory also should be changed to have same name with Account name.

To change Home directory, you need to move the directory before changing these settings in Advanced Options.

In summary, to change an account name:

  1. Make administrator’s account if it doesn’t exist.
  2. Login as administrator’s account.
  3. Move home directory to new account name. From Terminal.app, you can do:

     $ sudo mv /Users/<old account> /Users/</new account>
    

    Or open /Users directory by Finder and change <old account> directory’s name.

  4. Open Users & Groups in System Preferences.
  5. Unlock further changes by clicking the left lower key.
  6. Right click (or +click) account name which you want to change, and open Advanced Options.
  7. Change Account name and Home directory to what you want. (Normally Home directory should be like /Users/<new account>).
  8. Logout.
  9. Login as <new account> and check it.
  10. If it is fine, delete administrator’s account if you created it for this.

Change the OS X user account name and home folder name on your Mac - Apple Support

Sponsored Links
Sponsored Links

« How to disable Mac's startup chime Enable Vimperator @ Firefox 47 »