I'm trying to enable the dock magnification when a new user logs in for the first time by putting the following in a login script
defaults write /Users/$3/Library/Preferences/com.apple.dock magnification -boolean TRUE killall Dock
If I manually run it as the user (replacing $3 with username) it works fine. But when I run it as a login script it resets the dock completely. Anyone have a guess, or a better idea at what I am trying to achieve? I don't want to use a configuration profile because I want to allow the user to adjust their settings as they wish.