X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/8bcd47716d936b00398da491f9c5f822e1766bcf..53fcf1ccc32356d7cb3b3100493abcf5cdf27d1b:/mac/README.md
diff --git a/mac/README.md b/mac/README.md
index 5b575da..9fa0ac1 100644
--- a/mac/README.md
+++ b/mac/README.md
@@ -20,17 +20,17 @@ For example, this policy:
```
which would be set in the plist file like this:
```
- Homepage
-
- URL
- http://example.com
-
+ Homepage
+
+ URL
+ 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
```