This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

  • 2 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • Last reply by Prashant Nagaraj

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)

Do you have any errors in about:policies?

Helpful?

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?

கேள்வி எழுப்பு

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