Q: default profile broken
Hello All
I use the below script to create a default profile in our school, this ensures the settings are as the teachers desire and the can jump into there classes.. now on osx 10.11.x the download folder link on the dock point to the original profile (being the admin), with that they get an access denied and see the red dash, but if they open in finder it goes to there own directory, but instructors do not like the extra steps. any ideas on solutions?
Copy Admin to user Template
rm -rf /Users/Admin/Library/Keychains/login.keychain
rm -rf /Admin/Library/Caches/*
rm -rf /Admin/Library/Preferences/SDMHelpData
rm -rf /Admin/Library/Saved\ Application\ State/*
cd /System/Library/User\ Template/
sudo ditto -rsrcFork English.lproj/* English.lproj.bak
sudo rm -rf /System/Library/User\ Template/English.lproj/*
sudo cp -R /Users/admin/* /System/Library/User\ Template/English.lproj/
sudo chmod 777 /Users/Shared
Any assistance is appreciated
iMac, OS X Mavericks (10.9.3)
Posted on Aug 24, 2016 12:58 PM