Posted on 02-04-2020 11:25 AM
Hello, I have been given a task to set all users homepages to our company website through all browsers. Most of my users use Chrome and Firefox for the Internet. I tried to create a package of a new Firefox dmg with homepage enabled but it failed. I would appreciate any assistance in this matter.
Thanks,
Tom
Posted on 02-04-2020 12:46 PM
I'd recommend separating your user settings from app deployment.
Firefox:
https://github.com/mozilla/policy-templates/tree/master/mac
Can be done with a config profile or defaults write. I prefer using a profile.
Chrome:
I use a login script for this one but I'd bet it works with a profile as well.
Homepage="example.com"
defaults write /Users/$3/Library/Preferences/com.google.Chrome.plist HomepageLocation "$Homepage"
chown $3 /Users/$3/Library/Preferences/com.google.Chrome.plist