Videos
Can I reset a Mac without the admin password?
How do I find my Mac admin password?
How to reset the password on the MacBook air m2?
You can change the login password on MacBook Air in the System Preferences:
- 1. Choose the Apple menu and click System Preferences.
- 2. Then click Users and Groups.
- 3. Click Change Password.
- 4. Enter your old password and set the new one.
There are at least three ways to reset the login password of an account.
Using Reset Password.app on the recovery partition:
- Hold command-R on startup.
- Select Utilities > Terminal.
- Run
resetpassword, which opens the Reset Password application. - Select the volume and account and reset the password.
Using dscl in single user mode:
- Hold command-S on startup.
- Run
mount -uw /. - Run
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plistin 10.7 or later orlaunchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plistin 10.6 or earlier. - Run
dscl . passwd /Users/username passwordwhereusernameis the name of the account andpasswordis the new password. - Run
reboot.
Creating a new admin account:
- Hold command-S on startup.
- Run
mount -uw /. - Run
rm /var/db/.AppleSetupDone. - Run
reboot. - Go through the steps of creating a new account.
- 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*")}'
To reset password, You can force reseting admin password even if you forgot the password. This is not impacted to the installed application.
Steps:
- Boot Mac by pressing "command + R" until apple logo comes up which is "OSX Recovery" mode
- Go Utility Menu>Run Terminal
- Type "resetpassword" command
- 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
With macOS Catalina and many recent macOS - the built in tools guide everyone how to reset admin permissions without needing any of the single user mode boot tricks of old (left at the bottom for posterity and people running OS that were shipped before 2015)
Now - follow the official Apple triage steps: https://support.apple.com/en-us/HT202860
Instead of single user mode, boot to recovery and use the Terminal Utility. Then you can remove the .AppleSetupDone file from:
/Volumes/Macintosh\ HD\ -\ Data/private/var/db
There are many ways to reset the login password without installation media, here are three:
Change the password in single user mode
- Hold ⌘+S on startup
mount -uw /(fsck -fyis not needed)launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist(or/System/Library/LaunchDaemons/com.apple.DirectoryServices.plistin 10.6)dscl . passwd /Users/username(without a trailing slash) and enter a new password. You can ignore the error aboutcom.apple.DirectoryServices.plist.reboot
Create a new admin account
- Hold ⌘+S on startup
mount -uw /(fsck -fyis not needed)rm /var/db/.AppleSetupDonereboot- Go through the steps of creating a new account. You can leave all fields in the personal information step blank.
- After logging in to the new account, go to the Users & Groups preference pane
- Select the old account, press the Reset Password... button, and enter a new password
Restart and enter Recovery mode (for 10.7 Lion and newer OS only)
- Hold ⌘+R on startup
- Open Terminal from the Utilities menu
- Type
resetpasswordand follow the instructions
Using iCloud Recovery Mode (10.9.x & newer)
- After incorrectly entering a user password three times at the Mac login screen, a message appears saying "If you forgot your password, you can reset it using your Apple ID"
- Click the arrow button to bring up a "Reset Password" dialog
- Enter the Apple ID login information that is tied to the OS X user account and click “Reset Password”
- Click “OK” to confirm the new keychain creation
- Enter and verify a new password, fill out the password hint field, and again click on “Reset Password”
- Click “Continue Log In” to login as the user account with the reset password
I'm sorry to hear about your father.
It is possible to reset the admin password to a Mac quite easily providing you have the correct install disc to match the version of the software that is running on the computer. Resetting the password does not delete any of the information on the Mac, but it will prevent you from gaining access to other passwords that are saved in the system for things like mail accounts or wifi keys that have previously been entered and saved by the original user. Once you have changed the password you will be prompted to create a new Keychain, which is the name of the place where these other passwords are saved.
Once you have admin access you can create or delete accounts. There is a support article on the Apple website with info on how to reset the password here: http://support.apple.com/kb/HT1274
If you don't have the install disc or need more help, I'd suggest booking an appointment at the Genius Bar at your local Apple Store and they will help you reset it at no charge.