27
Apr/091
Apr/091
How to reset your Leopard Password without the DVD
Forgotten your password? No problem, here’s a way of resetting it. The bonus of doing it this way is that it doesn’t create a root user password, so it can be repeated as long as you haven’t got one.
- Start up in single-user mode by holding command-s while turning on the computer (this gives you root access)
- Type: “fsck -fy” (without quotes – ALWAYS without quotes)
- Type: “mount -uw /”
- Type: “launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist”
- Type: “dscl . -passwd /Users/theUsernameWhosPasswordYouWantToChange newPassword”
- Type: “exit”
- Restart your computer
That should work. If you have any problems, let me know in the comments. If you don’t, let me know in the comments.
September 1st, 2009
You don’t actually need most of this after cmd+s. Just the fsck (you can skip this, it’s just a disk check), mount -uw /, then passwd [yourusername]. Once that’s done, the exit command will close this single-user mode session, and boot the system normally.