What Defualts Write items do you use?
(2 of 2 related threads search identifier: creating default settings)
So I figure a bunch of us are in environments without apple servers, but with enough apple machines that we are using instadmg AND have a need to set certain default settings that end-users can change, but should start the same on all machines at least the first time.
Some of these things can be done using MCX records and WorkGroup Manager with the 'set once' choice, however I find it easier to do it using the 'defaults write' command during the instadmg process.
Which ones do you use? What about items that can only be set after startup, what do you do with those? What scripts and settings do you set in that manner?
these are the ones I have collected/used so far.
(some taken from my script and some from my collection, so commenting varies)
[code]#No .ds-store on network shares
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
#turn off time machine
defaults write /Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
#disable time machine in general
defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup 0
#disable time machine new disk requests
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup 1
#Adds Recents Things Stack to dock
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
#Hide sub 500UID users
defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool TRUE
#Hide SPecific users from the fast user and login window lists (Replace $USERNAME with users name)
defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array $USERNAME
#Hide the Other user from login etc.
defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE
#change status of the firewall: 0=off 1=on for specific services and 2=on for essential services
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1
#Globaly set the large print dialouge box
defaults write /Library/Preferences/.GlobalPreferences PMPrintingExpandedStateForPrint -bool TRUE
#use expanded save dialouges
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
#use short name as default for logging into network shares
defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool NO
defaults write /Library/Preferences/com.apple.NetworkAuthorization UseShortName -bool YES
#set screen capture file format
defaults write com.apple.screencapture type pdf
#set the clock to display seconds
defaults write com.apple.MenuBarClock DisplaySeconds 1
#disable itunes update checking
defaults write com.apple.iTunes disableCheckForUpdates -bool YES
#remove itunes store links (bandwith)
defaults write com.apple.iTunes show-store-arrow-links -bool FALSE
#Change Login Window Background (I set a custom logon background pic)
defaults write $3/Library/Preferences/com.apple.loginwindow DesktopPicture /Library/LoginManagement/Login.jpg
#launch the login script (I use a login hook to display a security warning that must be agreed to)
defaults write $3/Library/Preferences/com.apple.loginwindow LoginHook /Library/LoginManagement/warning.sh
#these items can only be done after startup
#systemsetup use cannot address non-boot volume, so these are commented out
#systemsetup -settimezone America/Los_Angeles
#systemsetup -setusingnetworktime on
#systemsetup -setcomputersleep 180
#systemsetup -setdisplaysleep 30
#systemsetup -setcomputername NCI-Image-M
#Configure ARD - after startup
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu
[/code]
what can you add? which items do you do differently? what suggestions can you make?
thanks,
Knowmad