Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

firefox-esr policies.json file question

more options

Hello All,

I am trying to enforce policies on latest firefox-esr installed through .DEB method as detailed in https://support.mozilla.org/en-US/kb/install-firefox-linux and I can launch the firefox from terminal as : > firefox-esr - Also I have removed the snap version of firefox that comes bundled with Ubuntu 22.04 x86_64 distribution.

Questions that I have are :

1. Policy Enforcement I am trying to enforce policies on firefox-esr as per the article https://mozilla.github.io/policy-templates/ and have a rather simple policies.json file stored in the folder /etc/firefox-esr/policies/ - The policies.json file is : {

 "policies":{
   "PasswordManagerEnabled": false
 }

}

However when I check the settings, the password manager is still enabled. - What is the correct path where the policies.json file stored in Ubuntu Linux distributions where firefox-esr package is installed through "Install Firefox .deb package for Debian-based distributions" and for all users ... meaning apply globally ?

2. When I removed the snap version of firefox, this also removed the icon from the quick-launch side bar / Dock Menu of Ubuntu - How do I the firefox-esr application to Ubuntu dock through command line for all users ?

Hello All, I am trying to enforce policies on latest firefox-esr installed through .DEB method as detailed in https://support.mozilla.org/en-US/kb/install-firefox-linux and I can launch the firefox from terminal as : > firefox-esr - Also I have removed the snap version of firefox that comes bundled with Ubuntu 22.04 x86_64 distribution. Questions that I have are : 1. Policy Enforcement I am trying to enforce policies on firefox-esr as per the article https://mozilla.github.io/policy-templates/ and have a rather simple policies.json file stored in the folder /etc/firefox-esr/policies/ - The policies.json file is : { "policies":{ "PasswordManagerEnabled": false } } However when I check the settings, the password manager is still enabled. - What is the correct path where the policies.json file stored in Ubuntu Linux distributions where firefox-esr package is installed through "Install Firefox .deb package for Debian-based distributions" and for all users ... meaning apply globally ? 2. When I removed the snap version of firefox, this also removed the icon from the quick-launch side bar / Dock Menu of Ubuntu - How do I the firefox-esr application to Ubuntu dock through command line for all users ?

All Replies (2)

more options

Do you have any errors in about:policies?

Helpful?

more options

about:policies shows : "The Enterprise Policies service is inactive"

> sudo find / -name "policies.json" shows the file the location : /etc/firefox-esr/policies/

There is no folder by name : /etc/firefox/policies/

I created the folder : /etc/firefox/policies/ , moved the file "policies.json" into the folder /etc/firefox/policies/

Now about:policies shows : Active Policy Name Policy Value PasswordManagerEnabled false

I have also added the config. element : "DisplayMenuBar": "always", "NoDefaultBookmarks": true, "DisplayBookmarksToolbar": "always",

   "ManagedBookmarks": [

{

       "toplevel_name": "My Bookmarks"
     },
     {
       "name": "My Website",
       "url": "https://www.My.com"
     },
     {
       "name": "My Login",
       "url": "https://My.domain.com/"
     },
     {
       "name": "My OneClick",
       "url": "https://sites.google.com/My.com/intranet/home"
     }
   ],

However the "Getting Started" and "import bookmarks" get displayed in the toolbar"

Is there a possibility to remove these from the toolbar ?

Helpful?

Still et spørsmål

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.