1.Restart in Single User mode (hold Command-S during startup)
2.At the prompt, type: mount -uw /
Press Return
3.Type:
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
Press Return
4.Type:
dscl . -delete /Users/[username] AuthenticationAuthority
Note: Replace "[username]" with the affected user account's short name
Press Return
4.Type: passwd [username]
Note: Replace "[username]" with the affected user account's short name
Press Return
5.At the "New password:" prompt, type the user's password
Note: It is recommended that the original user's password be used to match the keychain password. (我原來的密碼是空白,所以我設定了新密碼,結果是成功的)
Press Return
6.At the "Retype new password" prompt, type the same password
Press Return
7.Type: reboot
Press Return