This are the instructions for changing the user and home folder:


I didn't follow this warning:

The administrator account needs to be a different account than the one you're renaming. If necessary, create another administrator account, then remove it when you're done.

Now when I try to unlock admin right on the preferences pane it asks for:

enter image description here

And nothing seems to work.

I know the password for sure since I can login.

I have done ls /Users and can see what should be my old user and that doesn't work, neither does what I set, how can I solve this?

  • Have you since created the second Administrator account? – Ramhound Nov 30 '17 at 17:17
  • @Ramhound how so? I need to login as admin to do so AFAIK. – Trufa Nov 30 '17 at 17:21
  • You indicated that is possible, "I know the password for sure since I can login.", so have you created that second user? – Ramhound Nov 30 '17 at 17:24
  • @Ramhound can login to osx, but I can't unlock admin rights inside preferences. – Trufa Nov 30 '17 at 17:26
  • I assume you can't use root in case like this? – Ramhound Nov 30 '17 at 17:30

Credit for this goes to grgarside from Ask Different - I don't have administrator account on my mac

You can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode + S.

  2. Mount the drive by typing /sbin/mount -uw / then ↩ enter.

  3. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.

  4. Reboot by typing reboot then ↩ enter.

  5. Complete the setup process, creating a new admin account.

Once you have a new admin account, you can use it to fix your old one, delete afterwards if no longer required.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.