Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Help with Security Features Warning for Linux

  • 1 ответ
  • 0 имеют эту проблему
  • 4 просмотра
  • Последний ответ от Paul

more options

DO NOT COPY AND PASTE! This is not written correctly! Someone please help with this or correct the code. I tried different ways to do this and nothing works ---- I am beyond frustrated with it.


Security features warning

You may see a warning that “some of Firefox’s security features may offer less protection on your current operating system”.

The sandbox in Firefox makes use of unprivileged user namespaces when creating new processes for enforcing more security. This can be considered a security risk, therefore some Linux distributions have started to restrict its usage and only allow it to work where there is an AppArmor profile.

Such profiles can only cover a limited set of installations paths, including Snap and Debian packages. They cannot however cover some other use cases, such as tarball installations as well as local development builds.

To create an AppArmor profile for Firefox:

In /etc/apparmor.d/, create a file with the name firefox-local

In the file, add the following:

  1. This profile allows everything and only exists to give the
  2. application a name instead of having the label "unconfined"

abi <abi/4.0>, include <tunables/global> profile firefox-local /home/<USER>/bin/firefox/{firefox,firefox-bin,updater} flags=(unconfined) {

   userns,
   # Site-specific additions and overrides. See local/README for details.
   include if exists <local/firefox>

}


Replace <USER> with your Linux user name. This assumes the Firefox install is at $HOME/bin/

Once you have saved the file, run sudo systemctl restart apparmor.service in the Linux terminal.

DO NOT COPY AND PASTE! This is not written correctly! Someone please help with this or correct the code. I tried different ways to do this and nothing works ---- I am beyond frustrated with it. Security features warning You may see a warning that “some of Firefox’s security features may offer less protection on your current operating system”. The sandbox in Firefox makes use of unprivileged user namespaces when creating new processes for enforcing more security. This can be considered a security risk, therefore some Linux distributions have started to restrict its usage and only allow it to work where there is an AppArmor profile. Such profiles can only cover a limited set of installations paths, including Snap and Debian packages. They cannot however cover some other use cases, such as tarball installations as well as local development builds. To create an AppArmor profile for Firefox: In /etc/apparmor.d/, create a file with the name firefox-local In the file, add the following: # This profile allows everything and only exists to give the # application a name instead of having the label "unconfined" abi <abi/4.0>, include <tunables/global> profile firefox-local /home/<USER>/bin/firefox/{firefox,firefox-bin,updater} flags=(unconfined) { userns, # Site-specific additions and overrides. See local/README for details. include if exists <local/firefox> } Replace <USER> with your Linux user name. This assumes the Firefox install is at $HOME/bin/ Once you have saved the file, run sudo systemctl restart apparmor.service in the Linux terminal.

Изменено NoahSUMO

Все ответы (1)

more options

Hi

I was involved in this support article. What seems to be the problem, how can we help?

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.