General ComputingTech

Howto reset Mac OS X User Password

Recently had to reset a password on a macbook. Here’s the TL;DR of it

Hold Command + S on startup to get to single user mode. Wait for the root prompt. Enter the following commands. Replace 'username' with your account name. e.g Keith

# mount -uw /
# launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
# password username
# reboot

One thought on “Howto reset Mac OS X User Password

Leave a Reply

Your email address will not be published. Required fields are marked *