Unable to reset password for MacBook Air 2018

Unable to login to MacBook Air 2018. Can’t reset password via Apple ID login because date and time is incorrect. Can’t reset date and time without login. Please advise how to reset time/date via terminal so I can reset login password for MacBook Air 2018.

Posted on Jul 4, 2022 8:06 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 29, 2022 6:30 AM

Hi MTC Diva!,


Let's see if we can get your MacBook Air into macOS Recovery, first. To access macOS Recovery:


    1. Make sure your MacBook Air is turned off completely
    2. Turn on your Mac and immediately press and hold Command (⌘)-R until you see an Apple logo or other image.


You should now see the utilities window, which shows options such as reinstalling macOS, and using Disk Utility. Here are the steps for resetting your password via Terminal:


    1. From the Utilities menu in the menu bar, choose Terminal.
    2. In the Terminal window, type resetpassword, then press Return to open the Reset Password assistant.
    3. If you're asked to select an admin user you know the password for, click “Forgot all passwords?”.
    4. At the Reset Password window, click Deactivate Mac, then click Deactivate to confirm.
    5. If you see an Activation Lock window, you'll have to have your Apple ID email and password to proceed.
    6. At the Reset Password window, enter your new password information, then click Next.
    7. If this window shows multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account.
    8. When the password reset is completed, click Exit.
    9. Choose Apple menu  > Restart, then log in with your new password.


If you're still not able to reset your login password, you can always reach out to Apple Support for additional assistance here.


Take it easy out there!

 

Similar questions

4 replies
Question marked as Top-ranking reply

Jul 29, 2022 6:30 AM in response to MTC Diva

Hi MTC Diva!,


Let's see if we can get your MacBook Air into macOS Recovery, first. To access macOS Recovery:


    1. Make sure your MacBook Air is turned off completely
    2. Turn on your Mac and immediately press and hold Command (⌘)-R until you see an Apple logo or other image.


You should now see the utilities window, which shows options such as reinstalling macOS, and using Disk Utility. Here are the steps for resetting your password via Terminal:


    1. From the Utilities menu in the menu bar, choose Terminal.
    2. In the Terminal window, type resetpassword, then press Return to open the Reset Password assistant.
    3. If you're asked to select an admin user you know the password for, click “Forgot all passwords?”.
    4. At the Reset Password window, click Deactivate Mac, then click Deactivate to confirm.
    5. If you see an Activation Lock window, you'll have to have your Apple ID email and password to proceed.
    6. At the Reset Password window, enter your new password information, then click Next.
    7. If this window shows multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account.
    8. When the password reset is completed, click Exit.
    9. Choose Apple menu  > Restart, then log in with your new password.


If you're still not able to reset your login password, you can always reach out to Apple Support for additional assistance here.


Take it easy out there!

 

Jul 5, 2022 10:30 AM in response to MTC Diva

Hello MTC Diva,


Being able to reset your user account password is important and you've come to a great place for help! It sounds as though you've walked through the standard steps for resetting your user account password and haven't had success. The next steps to take are outlined in the related article you came from. You'll want to start with the section "Start up from macOS Recovery," after booting in to macOS Recovery you'll want to continue through the remaining sections of the related article.


Have a great day!

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.

Unable to reset password for MacBook Air 2018

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