Created
May 18, 2012 16:35
-
-
Save rickychilcott/2726267 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
echo "#!/bin/bash" > /tmp/loginfix.sh | |
echo "rm /Users/*/Library/Preferences/ByHost/com.apple.loginwindow.*" >> /tmp/loginfix.sh | |
mv /tmp/loginfix.sh /usr/bin/loginfix.sh | |
chmod +x /usr/bin/loginfix.sh | |
defaults write com.apple.loginwindow LoginHook /usr/bin/loginfix.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment