I have an admin account which has a typo in it's account name and I wanted to fix it. So I created a different admin account so that I can rename the account name and home folder name from that account.

But when I logged in from the second admin account, my macbook air (macOS mojave) is exhibiting weird behavior, for example, the dock has lost its animation, taping on trackpad doesn't serve the purpose of click and I do not see Macintosh HD in the finder.

I tried to rename the home folder from the terminal like so:

sudo mv my-old-home my-new-home

But no luck. It says operation not permitted. How can I fix this?

  • What do you want to fix, the odd behaviour of the new account, or the renaming?
    – nohillside
    Nov 17, 2018 at 14:02
  • The renaming of course
    – Eisenheim
    Nov 17, 2018 at 14:06
  • Might be easier to follow the instructions from Apple's support site (support.apple.com/en-us/HT201548) on this, after making a backup of course.
    – nohillside
    Nov 17, 2018 at 14:35
  • Yeah but I am stuck at the step where I have to rename the directory. Because I don't see the HD in finder.
    – Eisenheim
    Nov 17, 2018 at 14:45
  • Can you use Shift-Cmd-G in Finder to open /Users/ directly?
    – nohillside
    Nov 17, 2018 at 14:47

1 Answer 1


Apple has instructions on their support site on how to rename accounts, see https://support.apple.com/en-us/HT201548.

If you can't see your hard drive in the new account, an easy way out of this is using Shift-Cmd-G to go to /Users directly and rename from there.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .