搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 ?

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题