X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Issues locking down a system with local-settings.js

Kuphostiwe

I need a sanity check.

I'm trying to lock down Firefox in Windows and Linux. I'm following the instructions to create local-settings.js and mozilla.cfg files. Right now, I'm working on just changing the default webpage. I'll screw things up later once I get past this hurdle. I'm currently working on a 2012 Server but I'm pretty sure I can replicate the issue on my RH 6 box.

The issue is when I create these 2 files and put them in the defaults/pref directory (which is what is referenced in my security paper and research on the intarwebs) it doesn't work. But if I copy the files to the install directory for Firefox, they do. Normally, this would be fine but this deviates from the security paper I have to follow to check the contents of the file and I don't want to have to explain the issue or get dinged. Are the locations correct or do I need to keep them in the defaults/pref and if I do, why do the same files error in one directory but not in another?

Thank you for your assistance. Peace

local-settings.js


// Filler comment pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

I need a sanity check. I'm trying to lock down Firefox in Windows and Linux. I'm following the instructions to create local-settings.js and mozilla.cfg files. Right now, I'm working on just changing the default webpage. I'll screw things up later once I get past this hurdle. I'm currently working on a 2012 Server but I'm pretty sure I can replicate the issue on my RH 6 box. The issue is when I create these 2 files and put them in the defaults/pref directory (which is what is referenced in my security paper and research on the intarwebs) it doesn't work. But if I copy the files to the install directory for Firefox, they do. Normally, this would be fine but this deviates from the security paper I have to follow to check the contents of the file and I don't want to have to explain the issue or get dinged. Are the locations correct or do I need to keep them in the defaults/pref and if I do, why do the same files error in one directory but not in another? Thank you for your assistance. Peace local-settings.js ---------------------------------- // Filler comment pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

Isisombululo esikhethiwe

Only local-settings.js needs to be in the "defaults/pref" folder. The mozilla.cfg needs to be placed in the main Firefox installation folder.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

The mozilla.cfg file needs to start with a comment line (//) since this line will be skipped.

See Configuration:

Funda le mpendulo ngokuhambisana nalesi sihloko 1

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Eminye Imininingwane

TyDraniu
  • Top 25 Contributor
315 izisombululo 1773 izimpendulo
Kuphostiwe

Impendulo Ewusizo

Yes, mozilla.cfg and *.js files should be placed in the install directory (where the firefox.exe is placed).

Yes, mozilla.cfg and *.js files should be placed in the install directory (where the firefox.exe is placed).
cor-el
  • Top 10 Contributor
  • Moderator
17468 izisombululo 157870 izimpendulo
Kuphostiwe

Isisombululo Esikhethiwe

Only local-settings.js needs to be in the "defaults/pref" folder. The mozilla.cfg needs to be placed in the main Firefox installation folder.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

The mozilla.cfg file needs to start with a comment line (//) since this line will be skipped.

See Configuration:

Only local-settings.js needs to be in the "defaults/pref" folder. The mozilla.cfg needs to be placed in the main Firefox installation folder. A <u>local-settings.js</u> file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg. pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); The mozilla.cfg file needs to start with a comment line (//) since this line will be skipped. See Configuration: *https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment

Umnikazi wombuzo

Thanks guys. Getting a definitive answer helps a lot. Now to just tweak my check scripts to know what's in the mozilla.cfg file.

Thanks guys. Getting a definitive answer helps a lot. Now to just tweak my check scripts to know what's in the mozilla.cfg file.