Skip to content

Instantly share code, notes, and snippets.

@0xradical
Created March 4, 2013 04:26
Show Gist options
  • Save 0xradical/5079933 to your computer and use it in GitHub Desktop.
Save 0xradical/5079933 to your computer and use it in GitHub Desktop.
reset_mac_password.txt
Boot into single user mode (press Command-S at power on)
Type fsck -fy
Type mount -uw /
Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
Reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment