i have a problem with my MacBook Air.
I recently changed the username and now if I want to unlock 'users and groups' or If I want to make changes that require the administrator information (username and password) the system doesn't recognize me.
What should I do? is it possible to create a new administrator account to replace the old one without losing all my files?
EDIT: I can't even create a new user account.
Best Answer
Have a backup, then:
/var/db/.AppleSetupDone
from single-user mode. See I don't have administrator account on my macCreate a new user account with the correct username. You should be prompted to use the existing home folder you renamed: