[K12OSN] Lock down Mozilla Proxy Settings

Pete pvdw at criticalcontrol.com
Wed May 26 20:42:30 UTC 2004


*Q:. *

How can I set default proxy settings for Mozilla?

*A:. *

Edit /usr/lib/mozilla-1.2.1/defaults/pref/all.js, and set:

pref("network.proxy.type", 1);
pref("network.proxy.http", "192.168.102.5");
pref("network.proxy.http_port", 8080);

*Q:. *

How can I lock down Mozilla settings?

*A:. *

This example shows you how to lock the setting for the printer command.

   1.

      Create /usr/lib/mozilla-1.2.1/mozilla.cfg.txt, with this content:

/* empty line */
lockPref("print.printer_PostScript/default.print_command", "qtcups");
lockPref("print.postscript.print_command", "qtcups");
lockPref("print.print_command", "qtcups");
    

   2.

      Download
      http://alain.knaff.lu/howto/MozillaCustomization/moz-byteshift.pl.

   3.

      Run:

$ *moz-byteshift.pl -s 13 < mozilla.cfg.txt > mozilla.cfg*
    

   4.

      Add to /usr/lib/mozilla-1.2.1/defaults/pref/all.js:

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






More information about the K12OSN mailing list