The following instruction will change any user’s password under Mac OS X. I usually need this when working on the clients’ mac machine and don’t know the password. Remember to tell them what is their new password. I usually put the password as hint if in case I forget to tell them.
Right after the startup sound press the following buttons:
/sbin/fsck -fy /sbin/mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist (Mac OS X 10.8 and higher) dscl . -passwd /Users/whitsongordon newpassword