My Macbook won't accept my admin username and/or password

My password works when logging in, but I can't sign in with admin username/password beyond that. I can't update my actual device or anything similar to that. I have already done the command R thing, and have reset my password multiple times. I don't even know if i am the admin even though I'm the only user on the computer. Please tell me how to fix this.User uploaded file

MacBook Air, iOS 10.3.1

Posted on Mar 3, 2018 3:02 PM

Reply
2 replies

Mar 3, 2018 9:38 PM in response to bronwenclark

That’s extremely odd - I thought it was impossible to have an administratorless Mac. Regardless, here’s how to get an administrator account back onto your Mac (or make your account admin):


1. Restart your Mac while holding Command-S. (If FileVault is enabled, log in to continue)

2. Rapidly moving white text on a black screen should appear. When the text stops moving, execute fsck -fy

3. Wait for your Mac to say “The volume Macintosh HD appears to be ok.”

4. Execute mount -uw /

5. Execute rm /var/db/.AppleSetupDone

6. Execute reboot

7. Your Mac should restart to Setup Assistant. Use it to create a new administrator account for your Mac.


To make your original account administrator and delete the extra account you made, log out and log in as your normal account. Open System Preferences, then choose Users and Groups. Unlock using administrator credentials, then select your account and check the box next to “Allow user to administer this computer”. Then, select the other account and delete it. Restart your Mac for changes to take effect.


Hope this helps!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

My Macbook won't accept my admin username and/or password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.