X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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?

Additional System Details

Installed Plug-ins

  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Provides information about the default web browser
  • Shockwave Flash 12.0 r0
  • Adobe® Acrobat® Plug-in for Web Browsers, Version 11.0.06
  • Displays Java applet content, or a placeholder if Java is not installed.
  • Microsoft Office for Mac SharePoint Browser Plug-in
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • Juniper Networks Safari Extensions

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17408 solutions 157258 answers

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:

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: *http://kb.mozillazine.org/Locking_preferences *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/