忘記密碼改變 Mac OS X 密碼

開機的時候按 command + S 進入 single user mode

然後用下列指令改變密碼

# fsck -fy
# mount -uw /
# launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
# passwd USERNAME