Permalink
Browse files

Add command to set auto login user on os x

  • Loading branch information...
1 parent 44831b8 commit 5ac57c52ea35b433a4948492eacf91cf9b19adc8 @nwgh nwgh committed Mar 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 osx/terminal_setup.sh
@@ -6,3 +6,5 @@ defaults write com.apple.Terminal 'Startup Window Settings' 'Stone Ridge'
osascript -e 'tell app "System Events"
make login item at end with properties {path:"/Applications/Utilities/Terminal.app", hidden:false}
end tell'
+echo "Setting auto login user (needs root privs)"
+sudo defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser hurley

0 comments on commit 5ac57c5

Please sign in to comment.