Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Reset Password' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Reset Password
Authored by: Jeeves on Aug 13, '11 10:51:20PM

In single user mode, running "dscl ." gives this message…
launchctl: Couldn't stat ("/System/Library/LaunchDaemons/com.apple.DirectoryServicesLocal.plist:): No such file or directory.

DirectoryServices is dead! Long live opendirectoryd!

After running this,

:/ root# launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist

then dscl can be used to chance passwords in the usual way…

:/ root# dscl . -passwd /Users/jeeves



[ Reply to This | # ]
10.7: Reset Password
Authored by: Lri on May 07, '12 08:36:18AM

I was able to change the password and log in using the new password. But after that, OS X locked up and showed a dialog about entering the keychain password (the old login password). Unless there's some way around it, this method is pretty much useless...



[ Reply to This | # ]
10.7: Reset Password
Authored by: Lri on May 07, '12 10:33:54AM

Never mind. I tried it a second time and was just able to cancel all of those Keychain dialogs.

The other method of removing /var/db/.AppleSetupDone and creating a new admin account still seems to work as well.



[ Reply to This | # ]