![]() ![]() #!/bin/bashĬurrentUser=`python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + "ĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ HomePage -string $HomePageĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ NewWindowBehavior -int 0ĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ NewTabBehavior -int 0Ĭhown $CurrentUser /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/. standard 20:40:12.267779+0100 CoreAnimation: failed to receive fence reply: 10004003. The next time Safari is opened it will open the listed URL. Note 2: If you attempt to check the URL in the General Tab, the browser will default to the listed URL. As of now, this works on Mojave and Catalina. As I mentioned above, the URL in the General Tab will not change. When the script is finished, Safari should open your new homepage. Note: Make sure that safari is closed before running the script. Oh well, this is probably as good as it's going to get. A restart of the computer seems to fix it. Oddly enough, the GUI doesn't change the homepage URL. I think this happens when the script restarts the domain, but I'm not sure. Safari 14:34:31.504 SafariForWebKitDevelopment58801:2576881 Failed to obtain sandbox extension for path/Library/Caches/. ![]() The Safari homepage is changed without being locked by a configuration profile. After scouring multiple jamf nation posts and blogs, I think I've finally figured out how to do this. ![]()
0 Comments
Leave a Reply. |