X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/b5c2854df9c9dd7a6016d6806dbdf94fe395e8ac..53fcf1ccc32356d7cb3b3100493abcf5cdf27d1b:/mac/README.md?ds=sidebyside diff --git a/mac/README.md b/mac/README.md index e2c5103..9fa0ac1 100644 --- a/mac/README.md +++ b/mac/README.md @@ -26,11 +26,11 @@ which would be set in the plist file like this: http://example.com ``` -can be set via the command line like this: -``` -defaults write org.mozilla.firefox Homepage__URL -string "http://example.com" +As correctly writing nested values with the `defaults` command can be hard, Firefox also supports writing nested values by separating them with `__`, like this: +```bash +sudo defaults write /Library/Preferences/org.mozilla.firefox Homepage__URL -string "http://example.com" ``` Before any command line policies will work, you need to enable policies like this: -``` -defaults write org.mozilla.firefox EnterprisePoliciesEnabled -bool TRUE +```bash +sudo defaults write /Library/Preferences/org.mozilla.firefox EnterprisePoliciesEnabled -bool TRUE ```