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

