[K12OSN] Hardcoding proxy/user setting in mozilla for all users

Joe Guenther jguenther at chinooksedge.ab.ca
Thu Oct 14 14:52:57 UTC 2004


I just made the change globally in /usr/lib/mozilla/defaults/all.js
notice the network.proxy.type change ... I could make the change later 
down in the list specifying the http_port, but it would not "stick" till 
I got the proxy.type set to 1)

Thus I did not need to put anything into the /etc/skel directory for 
mozilla.

= = = = = all.js = = = = = = snip = = = =
//pref("network.proxy.type",                  0);
// Joe changed 18may04
pref("network.proxy.type",                  1);
// end of change
pref("network.proxy.ftp",                   "");
pref("network.proxy.ftp_port",              0);
pref("network.proxy.gopher",                "");
pref("network.proxy.gopher_port",           0);
pref("network.proxy.news",                  "");
pref("network.proxy.news_port",             0);
// pref("network.proxy.http",                  "");
// pref("network.proxy.http_port",             0);
// Joe changed this 18May2004
pref("network.proxy.http",                  "10.1.0.4");
pref("network.proxy.http_port",             8000);
// end of change

= = = =  end of snip = = = = all.js ======

george kocke wrote:

>On Thu, 2004-10-14 at 04:56, Wilson wrote:
>
>  
>
>>Is there a way to hardcode the proxy setting to all users?
>>    
>>
>
>I have a few scripts at the URL below that may be of interest.
>
>http://www.vol.org/vol/school/freedom/ltsp_scripts/
>
>Basically, I set up a "golden" user and set everything up for that user.
>When a user logs in via GDM, /etc/X11/gdm/Sessions/Default is run and
>does a bunch of things. One thing it does is check for the existence of
>the ~/.mozilla directory. If that directory is not found, it copies
>/home/golden/.mozilla to the user's home directory and changes a bunch
>of paths and permissions.
>
>
>
>  
>




More information about the K12OSN mailing list