Skip to content

Instantly share code, notes, and snippets.

View dstranathan's full-sized avatar

Daniel Stranathan dstranathan

View GitHub Profile
@dstranathan
dstranathan / gist:7143066
Created October 24, 2013 19:02
Disable iCloud prompts at login time for new users in OS X 10.9 Mavericks. Thanks to chilcote (https://gist.github.com/chilcote/7141976)
# Disable iCloud prompts
# Thanks to chilcote (https://gist.github.com/chilcote/7141976)
osvers_major=$(sw_vers -productVersion | awk -F. '{print $1}')
osvers_minor=$(sw_vers -productVersion | awk -F. '{print $2}')
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool true
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/