HelloOk here we go:1- You have to restart your MBA holding down the Command+S keys, and this will take you into Single User Mode and it’s Terminal interface.2- Then you have to check the filesystem. to do this you have to type the following command in the terminal interface:fsck -fy3- Then you have to mount the root drive with write option enabled so you can apply and save any changes. Type this in the temrinal interface:mount -uw /4- And then type this command exactly as you see it here:rm /var/db/.AppleSetupDone5- Reboot your MBA by typing this in the terminal interface:reboot6- After you reboot, you will be see the “Welcome Wizard” startup screen. Follow the wizard and create a new user account. This new account name must be different from the onewhose password you want to recover.7- Continue and boot into your Mac OS X with the new account you have just created, this new user account is an Administrator and has administrative access8- Now that you're logged in, go to System Preferences9- Click on Users & Groups10- Click on the Lock icon and use your newly created user name and password if asked. This will allow you to make changes to other user accounts11- On the user panel select the user account whose password you have forgotten and then click on the Change Password... button.12- Enter your new password13- Reboot/restart your MBA and now you can log back in with your old account. If you want you can delete the user account you created following this steps.Hope this helps.Good luck Answer from albercuba on discussions.apple.com
🌐
Apple Community
discussions.apple.com › thread › 254367908
command not found: resetpassword - Apple Community
How do I do ? too many times password entered incorrectly and asking to reset and pair again. How do I do ? 373 1 · I have entered a wrong password 5 times yet the dialogue box doesn’t appear. What do I do? this is the only thing I see even after typing in a wrong password for 5/6 times. 1597 1 ... This did not work. What is MBA? And cane you use terms the average person can understand? Thanks ... I apologize, MBA is MacBook Air. ... Nothing happened when I typed fsck -fy into the terminal.
🌐
Reddit
reddit.com › r/mac › resetpassword doesn’t work
r/mac on Reddit: Resetpassword doesn’t work
June 15, 2020 - I pressed all the command r and p and option. I tried everything. Even apple couldn’t help. Do u think if I use an ether cable I can access my laptop from the new laptop or is my hard drive gone forever. It won’t let me do anything due to the date and time being wrong but I can’t change it without the password. ... Yes you can change the date and time in recovery mode using the same terminal you used to type resetpassword Continue this thread
People also ask

How can I retrieve my Mac password using Terminal?
To find your administrative password on a Mac using Terminal, perform the following:
Open Terminal on your Mac.
Type "sudo -s" and enter your current user password.
Enter "cat /var/log/secure."
Look for lines that start with "Password:". The characters following "Password:" represent your admin password.
🌐
dataperk.com
dataperk.com › kb › quick-guide-how-to-reset-mac-password-with-terminal-commands
Quick Guide: How to Reset Mac Password with Terminal Commands
Is there a keyboard shortcut to reset a password on a Mac laptop?
es, the keyboard shortcut to reset a password on a Mac laptop is Control + Option + Fn + Delete (Ctrl + Option + Fn + Delete).
🌐
dataperk.com
dataperk.com › kb › quick-guide-how-to-reset-mac-password-with-terminal-commands
Quick Guide: How to Reset Mac Password with Terminal Commands
What should I do if I forget my Mac password?
If you forget your Mac password, you can reset it using your recovery key by following these steps:
After incorrectly entering your password up to three times, select the option to reset using your recovery key.
Enter your FileVault recovery key.
Input your new password details, then click "Reset Password."
🌐
dataperk.com
dataperk.com › kb › quick-guide-how-to-reset-mac-password-with-terminal-commands
Quick Guide: How to Reset Mac Password with Terminal Commands
🌐
Super User
superuser.com › questions › 1450240 › how-to-reset-forgotten-mac-os-password
macos - How to reset forgotten mac os password - Super User
If you can't get the recovery partition to boot, you'll need to make a bootable USB drive and boot from that. https://support.apple.com/en-us/HT201372 · You can't reset the password from a regular terminal, you have to boot into some other OS.
Top answer
1 of 11
3
HelloOk here we go:1- You have to restart your MBA holding down the Command+S keys, and this will take you into Single User Mode and it’s Terminal interface.2- Then you have to check the filesystem. to do this you have to type the following command in the terminal interface:fsck -fy3- Then you have to mount the root drive with write option enabled so you can apply and save any changes. Type this in the temrinal interface:mount -uw /4- And then type this command exactly as you see it here:rm /var/db/.AppleSetupDone5- Reboot your MBA by typing this in the terminal interface:reboot6- After you reboot, you will be see the “Welcome Wizard” startup screen. Follow the wizard and create a new user account. This new account name must be different from the onewhose password you want to recover.7- Continue and boot into your Mac OS X with the new account you have just created, this new user account is an Administrator and has administrative access8- Now that you're logged in, go to System Preferences9- Click on Users & Groups10- Click on the Lock icon and use your newly created user name and password if asked. This will allow you to make changes to other user accounts11- On the user panel select the user account whose password you have forgotten and then click on the Change Password... button.12- Enter your new password13- Reboot/restart your MBA and now you can log back in with your old account. If you want you can delete the user account you created following this steps.Hope this helps.Good luck
2 of 11
4
Hi Thanj you - but I am unable to try this at the moment because I can no longer get past the Utilities Screen in Recovery mode. It freezes on that screen no matter how many times I restart ( and is,unfortunately in french though that is not the main problem ).Any suggestions ?
🌐
Dataperk
dataperk.com › kb › quick-guide-how-to-reset-mac-password-with-terminal-commands
Quick Guide: How to Reset Mac Password with Terminal Commands
July 18, 2024 - To reset your Mac password using Terminal, follow these simple steps: Once you’re in Recovery Mode, navigate to the Utilities menu and select Terminal. This action will open the Terminal window, ready for your commands.
Find elsewhere
🌐
Apple Support
support.apple.com › en-us › 102633
If you can't reset your Mac login password
You're in Recovery when you see options to restore from Time Machine, reinstall macOS, and more: Before exiting to Recovery, if you were asked to reset your password, you can now choose Apple menu  > Restart, then log in with your new password. If you were not asked to reset your password, ...
🌐
OS X Daily
osxdaily.com › 2021 › 05 › 11 › how-reset-macos-password-terminal
How to Reset MacOS Password with Terminal
March 30, 2021 - On ARM Macs: after reboot immediately ... as shown in the screenshot below. Once Terminal opens up, type “resetpassword” without the quotes and hit the Return key....
🌐
Mac Help Forums
mac-help.com › forums › apple software › mac os
Terminal password not working | Mac Help Forums
August 24, 2023 - I really don't want to have to reset my Mac, but is that the only option? Hope someone can help. Tom ... Hi mate. I don't exactly know. I'm the only user so I guess I'm also admin? ... Thanks for your help mate. I went through Apple in the end and they've helped me fix the password issue. Yet to try the original problem with Terminal again, but I'll see how it goes tomorrow.
🌐
Apple Community
discussions.apple.com › thread › 250578615
Resetting password from terminal - Apple Community
Yes, you can use the "command + r" when starting up your mac to enter recovery mode and then open the terminal application and use the "resetpassword" script to reset an account password. One way to stop this is to turn on filevault on your computer. This will encrypt the entire hard drive ...
🌐
Apple Community
discussions.apple.com › thread › 255372705
How can I reset an admin password with the Terminal?
The "bash-3.2#" prompt indicates you're in a root or superuser shell. To reset the admin password, try the following steps: 1. **Resetting Admin Password in Single-User Mode:** - Restart your Mac and hold down Command + S while it's booting to enter Single-User Mode.
🌐
YouTube
youtube.com › rossatech studio
How to reset the password on a Mac with Terminal - Intel MacBook  - YouTube
Part one of our 'Make the Most of Your Mac'' video series. ⏱TIMESTAMPS⏱ below!We show you how to reset the password on your Mac with Terminal on an Intel Mac...
Published   November 8, 2021
Views   7K
🌐
HelloTech
hellotech.com › home › how to reset your admin password on a mac
How to Reset Your Admin Password on a Mac : HelloTech How
January 26, 2023 - Type “resetpassword” in the terminal window. Don’t use any space in between the words. Then hit Enter. This will open the Reset Password Assistant screen. Type your password and a hint.
🌐
MacRumors
forums.macrumors.com › macs › notebooks › macbook air
Locked out of password- no user account to reset! Help!! | MacRumors Forums
April 6, 2017 - Press the power button while holding down Command-R. The Mac will boot into Recovery mode. ... Select Disk Utility and press Continue. Choose Utilities > Terminal. Enter resetpassword (all one word, lowercase letters) and press Return.
🌐
JustAnswer
justanswer.com › mac-computers › mzk8d-macbook-not-accepting-pwd-can-t-tell-can-t.html
MacBook Password Issues and Solutions | Expert Q&A
Please let me know if that didn't work, so I will continue to help you. Customer · When I type resetpassword ***** says "command not found" Mac Support Specialist: Ashik · Make sure you enter resetpassword as one word in Terminal window.
Top answer
1 of 2
1

There are at least three ways to reset the login password of an account.

Using Reset Password.app on the recovery partition:

  1. Hold command-R on startup.
  2. Select Utilities > Terminal.
  3. Run resetpassword, which opens the Reset Password application.
  4. Select the volume and account and reset the password.

Using dscl in single user mode:

  1. Hold command-S on startup.
  2. Run mount -uw /.
  3. Run launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist in 10.7 or later or launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6 or earlier.
  4. Run dscl . passwd /Users/username password where username is the name of the account and password is the new password.
  5. Run reboot.

Creating a new admin account:

  1. Hold command-S on startup.
  2. Run mount -uw /.
  3. Run rm /var/db/.AppleSetupDone.
  4. Run reboot.
  5. Go through the steps of creating a new account.
  6. Reset the password of the old account from the Users & Groups preference pane.

If FileVault 2 is enabled, you need to enter a password to start up in single user mode, and the list of accounts in Reset Password.app will be empty, so none of these methods can be used.

None of the methods above resets the password of the login keychain. If automatic login is enabled, you can print the password of the login keychain by running a command like this in single user mode before resetting the login password:

sudo ruby -e 'key=[125,137,82,35,210,188,221,234,163,185,31];IO.read("/etc/kcpassword").bytes.each_with_index{|b,i|break if key.include?(b);print [b^key[i%key.size]].pack("U*")}'

2 of 2
3

To reset password, You can force reseting admin password even if you forgot the password. This is not impacted to the installed application.

Steps:

  1. Boot Mac by pressing "command + R" until apple logo comes up which is "OSX Recovery" mode
  2. Go Utility Menu>Run Terminal
  3. Type "resetpassword" command
  4. Choose HDD and admin account which is initially created.

I'm quite new user for Mac so I'm not sure when it's implemented like this way but I heard old OSX has a menu in the recovery system(command + R) not like this way as I mentioned.

To install OSX, You can ask genius bar@apple store to install or you can install it via internet(Wired Lan) by pressing command+R option which is calls OSX recovery mode.

To backup the local disk, It's possible to backup local disk using the function called "Time Machine" on external drive and possible to restore.

FYI http://support.apple.com/kb/HT4718?viewlocale=en_US