Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

How do I centralize default values like proxies so all users on a host inherit it?

  • 1 răspuns
  • 1 are această problemă
  • 1 vizualizare
  • Ultimul răspuns de cor-el

more options

I want all new users of firefox on our Linux host to have the same default proxy settings. I don't want them to enter it through the preferences menu.

Is there a central place on the machine (i.e. /etc or /usr/share) where I can input the proxy settings and any user starting firefox will inherit them?

I want all new users of firefox on our Linux host to have the same default proxy settings. I don't want them to enter it through the preferences menu. Is there a central place on the machine (i.e. /etc or /usr/share) where I can input the proxy settings and any user starting firefox will inherit them?

Toate răspunsurile (1)

more options

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");

These functions can be used in the mozilla.cfg file:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

See: