defaults write firefox

spulver
New Contributor

Hello, Looking over this page it says you can use the defaults command to deploy settings to firefox. https://support.mozilla.org/en-US/kb/managing-policies-osx-desktops. I created the script below but keep getting a "no such file or directory" (see attached) error when deploying through Jamf. When I run locally it seems to work fine. I use this same exact format for Chrome to deploy settings and that works great. Any ideas?

#!/bin/sh
curUser=`ls -l /dev/console | cut -d " " -f 4`
sudo -u $curUser defaults write org.mozilla.firefox Certificates__ImportEnterpriseRoots -bool true

4f8a009531ac4d299176660bb548ddb8

2 REPLIES 2

georgecm12
Contributor III

I strongly recommend using a Configuration Profile instead. It works quite well with all current versions of Firefox.

Even though the project has been abandoned, I still recommend using ProfileCreator (https://github.com/ProfileCreator/ProfileCreator) to create your profile, then upload it to Jamf Pro.

ddougla2
New Contributor II

Are you pushing this to a Catalina OS? With Catalina, Apple is no longer supporting "On Startup" as a trigger. This is the same message I got when my "on startup" policies started to fail.