搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 ?

所有回覆 (2)

more options

Do you have any errors in about:policies?

有幫助嗎?

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 ?

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題