Created
November 1, 2016 18:25
-
-
Save anthonywu/41c8f18f98c6cb053e894660c739682c to your computer and use it in GitHub Desktop.
icloud_password_restore.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if the iCloud password option is disabled, you'll not see your iCloud login with this result | |
dscl . read /Users/your_username | grep AuthenticationAuthority | |
# use this command to add your icloud password as an auth authority again | |
sudo dscl . append /Users/your_username AuthenticationAuthority ";AppleID;[email protected]" | |
# confirm the previous command | |
dscl . read /Users/your_username | grep AuthenticationAuthority |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment