What about to make config file owned by different user and readonly by user you want to lockdown the config
On Thu, Mar 6, 2008 at 5:40 PM, Aaron Wilson <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to lock down the preferences in the firefox that comes > installed with Solaris 10 08/07 > > In the past firefox wasn't preinstalled and you either download a > version the Sun Beijing team release on the Mozilla site or you used the > Blastwave version. I've always prefered the one from the Sun Beijing > team. They're usually only a day or two behind getting a file up after a > new version of firefox is released. > > Anyways in the past I've taken a text file called mozilla.txt that > includes the following lines: > ---------------------------------------------------------------------- > # 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", "192.168.1.2"); > lockPref("network.proxy.http_port", 3128); > lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1"); > lockPref("network.proxy.type", 1); > ---------------------------------------------------------------------- > > And then taken that file and run it through the script on: > http://alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi > > That creates a file called mozilla.cfg > > Then I would place the file in /opt/sfw/lib/firefox and add: > > pref("general.config.filename", "mozilla.cfg"); > > to the end of /opt/sfw/lib/firefox/defaults/pref/firefox.js > > > That would lock down the proxy settings in firefox. > > > I've tried putting the mozilla.cfg file in /usr/lib/firefox and adding > the line to the end of /usr/lib/firefox/defaults/pref/firefox.js but it > doesn't lock down the settings on this preinstalled version of firefox. > > Anyone know how to lock down the preinstalled firefox. I think I read > that this version of firefox can be used with apoc, but I that's > overkill as far as I'm concerned and would like to lock this version of > firefox down the same way I always have. > > Thanks, > > Aaron > _______________________________________________ > Solaris-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users > -- <><><><><><><><><><><><><><><><><><> Regards: Romeo Ninov http://rninov.host-bg.info <><><><><><><><><><><><><><><><><><> _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
