Docs › Organisations
Linux policy
The file that sets the managed policy on Linux, which Origami honours only when root alone can change it.
1 min read
How it works
- Write the keys you want to set in a file named
policy.json:
{
"GoEnabled": false,
"UpdatesEnabled": false
}
- Put it in
/etc/origami, owned by root and writable by root alone, in a folder kept the same way:
sudo install -d -o root -g root -m 755 /etc/origami
sudo install -o root -g root -m 644 policy.json /etc/origami/policy.json
- To check it took effect, run
stat -c '%U %a %F' /etc/origami /etc/origami/policy.json: both are root's, the file a regular file. Then open Settings › Origami+ in Origami: the Origami Go switch is locked.
Good to know
- A link, a file or folder that isn't root's, or one that group or others can write is ignored.
- A file Origami can't read, or can't read as a policy, turns both off. That includes a key that isn't
trueorfalse. - Keys Origami doesn't know are left alone, for later versions.
Related
- Managed policyTwo settings an administrator manages on an organisation's computers, to turn off Origami Go or updates.
- macOS profileThe configuration profile that sets the managed policy on macOS, through your device management or by hand.
- NetworkThe hosts Origami reaches on its own, and what blocking them does.