Would you like to react to this message? Create an account in a few clicks or log in to continue.

reset/bypass mac password

Go down

reset/bypass mac password Empty reset/bypass mac password

Post by sunt Tue Oct 19, 2021 10:35 am


Change the password in single user mode
Hold ⌘+S on startup
mount -uw / (fsck -fy is not needed)
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist (or /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6)
dscl . passwd /Users/username (without a trailing slash) and enter a new password. You can ignore the error about com.apple.DirectoryServices.plist.
reboot

Create a new admin account
Hold ⌘+S on startup
mount -uw / (fsck -fy is not needed)
rm /var/db/.AppleSetupDone
reboot
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 resetpassword and follow the instructions
sunt
sunt

Number of posts : 145
Registration date : 2008-11-14

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum