Unfortunately nothing in there can be managed via config profiles. What are the chances if I put a bug report enhancement that Apple will make it so? LOL
So I'm trying to manage it in User Templates......I know I know...
I suppose I could create a launch agent to edit the values I need, but I'm afraid it may not take effect right away. Or perhaps a launchdaemon (which I know runs as root) that does it all for current users at each boot which would take effect at the login window (just need to make sure the file has the proper permissions afterwards).
But the easiest honestly would be to just do it through User Templates. Because I don't care to be a IT nazi over these particular settings. I've avoided using the User Template for such a long time so here's a simple question. If the file does not exist under /System/Library/User Template/*/Library/Preferences and I go ahead and create it will that file copy over on each new user account folder that gets created? I assume yes.
What am I trying to manage?
I want to remove the iCloud shortcut from the sidebar list.
Located here:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>favoriteitems</key>
<dict>
<key>Controller</key>
<string>CustomListItems</string>
<key>CustomListItems</key>
<array>
<dict>
<key>CustomItemProperties</key>
<dict>
<key>kLSSharedFileListItemUserIsiCloud</key>
<true/>
</dict>
<key>Name</key>
<string>iCloud</string>
<key>URL</key>
<string>x-apple-finder:icloud</string>
</dict>
</array>
</dict>
</dict>
</plist>
And then network browser settings:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>networkbrowser</key>
<dict>
<key>Controller</key>
<string>CustomListItems</string>
<key>CustomListItems</key>
<array/>
<key>CustomListProperties</key>
<dict>
<key>com.apple.NetworkBrowser.backToMyMacEnabled</key>
<false/>
<key>com.apple.NetworkBrowser.bonjourEnabled</key>
<false/>
<key>com.apple.NetworkBrowser.connectedEnabled</key>
<true/>
</dict>
</dict>
</dict>
</plist>
I would obviously combine the two entries above since it all goes into one plist anyways. Or just get the appropriate commands and script it out using PLISTBUDDY.
I'll be testing away but figured it might be worth a try to see what others have done and if User Template works as I remember.
