[K12OSN] Setting proxy in Firefox for ALL users...HOW?

george kocke webmaster at vol.org
Fri Aug 26 18:13:02 UTC 2005


On Fri, 2005-08-26 at 12:42, David Trask wrote:

> How can I set either a manual proxy or auto-detect proxy for all users on
> my K12LTSP box?  Is it something can set in a master account that users
> will pull their inital mozilla prefs from?  I'm using DansGuardian with
> pam_auth this year so I need to set the proxy.

Here's what I do for Mozilla. This is part of my userprep script which
runs right before icewm starts. Forgive any poor line wrapping.

###############################################################################
# install mozilla
###############################################################################
    if [ ! -d "$HOME/.mozilla" ]; then
        cd $HOME
        # create mozilla profile ($HOME/.mozilla)
        mozilla -CreateProfile default
        MOZDIR=`ls $HOME/.mozilla/default`
        cp /ltsp/etc/mozilla/* "$HOME/.mozilla/default/$MOZDIR/"
        perl -pi -e "s/golden/$USER/g;"
"$HOME/.mozilla/default/$MOZDIR/prefs.js"
        # create cache directory
        mkdir "$HOME/.mozilla/default/cache"
        #xmessage "Web browser installation: COMPLETE" &
    fi


See the following for more info:

http://www.vol.org/vol/school/freesoftware/ltsp/


-- 
george kocke <webmaster at vol.org>
http://www.vol.org


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the K12OSN mailing list