Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

firefox-esr policies.json file question

  • 2 відповіді
  • 0 мають цю проблему
  • Остання відповідь від Prashant Nagaraj

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 ?

Корисно?

Запитати

Щоб відповідати на повідомлення, ви повинні ввійти у свій обліковий запис. Поставте нове питання, якщо ви ще не маєте облікового запису.