Created
June 20, 2014 10:49
-
-
Save gotunandan/1e93869f4f77ae925b53 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 | |
### Run as root (or with sudo) | |
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow autoLoginUser testuser | |
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow autoLoginUID 504 | |
cp -v kcpassword /private/etc/kcpassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment