Reset a user's password in single user mode
We needed to reset the password on a Leopard system, but we didn't have the OS X install DVD available.
- 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
This allows you to reset the password in single user mode without booting from the install media.
No comments:
Post a Comment