Password reset
Try this...
Hold Apple+S when booting to enter single user mode
If you can't recall your user name, you can either look in the /Users folder (the directories are named by user), or run "niutil -list . /users".
Also, on older systems the /etc/rc script isn't available, apparently. If that second step fails, try mounting and starting the base services manually:
I've had to do this a couple of times for friends when they've bought a second hand machine, and once when I had a momentary brain lapse and forgot my own password. Works like a charm, though you'll loose any passwords stored in your keychain.
SOURCE: Locked out of Mac Osx
Turn the computer on
Hold Command + S
Wait till it enters what is called Single User Mode
Type: mount -uw /
hit enter
Type: launchctl load /System/Library/LaunchDameons/com.apple.DirectoryServices.plist
hit enter
Type: dscl . -delete /Users/"yourusername" AuthenticationAuthority
hit enter
Type: passwd "yourusername"
hit enter
Type a new password
Then retype password.
type: exit
then reboot
If you don't know your username
before you type the dscl command type: ls /Users
and find your account and use that name for the user name.
107 views
Usually answered in minutes!
×