Find the answer to your Linux question:
Results 1 to 5 of 5
OK now I stumbled on something and we have to figure out how to lock down individual users from setting a proxy server. Its a server not a WS so ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163

    need help locking down proxy setting in red hat

    OK now I stumbled on something and we have to figure out how to lock down individual users from setting a proxy server. Its a server not a WS so it should never go to the internet.

    I want to lock down the system side and firefox 5 settings.
    Love Linux... This is getting fun...

    found this link but its a bit confusing. I want to lock the system and mozilla
    Locking preferences - MozillaZine Knowledge Base

    I tired this and put the local-setting.js in and now the firefox wont start at all.
    "failed to read the configuration file. Please contact your system administrator.

    So I did contact myself.. I was out getting coffee so could not help...

    Seriously on to more debugging...
    well read several sites that all say to do the same thing but they are talking windows and mac so may be i am missing something being Linux...

    So what I did was create a file called
    /usr/lib64/firefox-3.0.12/defaults/profile
    more mozilla.txt
    //
    lockPref("network.proxy.type", 5); <----setting to system setting but I really want to lock it out completely
    encrypted is
    more mozilla.cfg
    //
    ybpxCers("argjbex.cebkl.glcr", 5);

    set the x bit on the file.
    -rwxr-xr-x 1 root root 39 Feb 16 09:26 mozilla.cfg

    created this file

    /usr/lib64/firefox-3.0.12/defaults/preferences/local-setting.js
    more local-setting.js
    pref("general.config.filename", "mozilla.cfg");
    set the x bit
    -rwxr-xr-x 1 root root 49 Feb 16 09:26 local-setting.js

    Still get error...

    this link explains what the setting 0-5 are used for
    Network.proxy.type - MozillaZine Knowledge Base

    So i thought this might be a permission issue and did a 777 on the local-setting.js file.
    Still get the error
    if someone wants to chime in feel free

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Are you running a proxy server that everyone has to go through? If so then setup the firewall to only allow web traffic from the proxy. Then setup the proxy to block the servers ip address.

    Or am i missing something here?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    no this is an application servert hat should not go to the internet. we are not running a proxy server on this.

    i want to block mozilla from accessing the internet.

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Simple solution would be to goto the firewall and block the ip address of this server.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    Yes but I have multiple systems on multiple networks so i wanted to keep it controled at the server level as I dont control the FW.

    I may end up talking to the FW group in the long run

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...