I use the firefox Sun compiles and puts up at
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.11/contrib/solaris_pkgadd/
Of course to use a Sunray you could be using Linux too, but the
instructions should be essentially the same.
I use pkgadd to install and that gets installed to /opt/sfw/lib/firefox
We have a '05 build of Solaris 10. I think newer versions like the 08/07
version of Solaris come with a recent version of firefox installed by
default so if you use that your location to firefox would be different.
What I do is create a file called mozilla.txt.
In that file I have the proxy settings I want to lock down.
Here's what my mozilla.txt looks like
bash-3.00$ more mozilla.txt
# Mozilla User Preferences
/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
* the changes will be overwritten when the browser exits.
*
* To make a manual change to preferences, you can visit the URL
about:config
* For more information, see
http://www.mozilla.org/unix/customizing.html#prefs
*/
lockPref("config.use_system_prefs", false);
lockPref("network.proxy.http", "172.20.1.3");
lockPref("network.proxy.http_port", 3128);
lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1,
172.20.1.1, 172.20.1.2, 172.20.1.3, 172.20.1.4, 172.20.1.6,
172.20.1.110, 172.20.1.121, 172.20.1.122, 172.20.1.123, 172.20.1.126,
172.20.1.136, 172.20.1.187, 172.20.2.50, 172.20.2.51, 172.20.2.119,
172.20.2.123, 172.20.2.234 172.20.2.241, 172.20.2.242, 172.20.2.234,
172.20.2.119, 172.20.2.123");
lockPref("network.proxy.type", 1);
bash-3.00$
I then go to
http://alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi and use
the form to upload a copy of my mozilla.txt to get a mozilla.cfg file.
I then place the mozilla.cfg file in /opt/sfw/lib/firefox
I then edit /opt/sfw/lib/firefox/defaults/pref/firefox.js and add the
following line to the end of the file
pref("general.config.filename", "mozilla.cfg");
Start up firefox and check the proxy settings. They should now be
permanently locked out for all your users.
You'll have to change the above example to reflect your particular proxy
settings, but you should get the general idea.
Lars Tunkrans wrote:
You Configure the Proxy settings in Sun Desktop Manager
OR
in /usr/lib/firefox/defaults/profile/prefs.js
point you borwser at
about:config
and look for the "network.proxy" settings
these are the keywords You need program in prefs.js.
//Lars
[EMAIL PROTECTED] wrote:
Hello,
Each time I login to Sun Ray DTU, I have to set firefox proxy... how
can I set it for all user without doing it each time??
Thank you very much.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users