Need to change ntlmv1 settings for users
We are currently using Firefox ESR 38.2.0 with our RHEL 6.7 workstations and need to change the network.negotiate-auth.allow-insecure-ntlm-v1 from the default of TRUE to FALSE.
We tried putting a .js file in /usr/lib64/firefox/defaults/preferences to change it, but the change is ignored.
When we try another setting in the file, such as perf("network.negotiate-auth.allow-insecure-ntlm-v1-https", false), then the change is made, however, with the ntlm-v1 setting, it is ignored in the file.
We can change the user_perf for network.negotiate-auth.allow-insecure-ntlm-v1 on a per user bases, but as an enterprise we would like to make this change for multiple users at once and not on a per profile.
Is there any way to do this, or is creating a script and placing it in /etc/profile.d the best option?
Thanks! Joe Giles
Solution eye eponami
You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.
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);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
The mozilla.cfg file needs to start with a comment line (//).
See Configuration:
See also:
- http://kb.mozillazine.org/Locking_preferences
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
All Replies (1)
Solution eye oponami
You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.
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);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
The mozilla.cfg file needs to start with a comment line (//).
See Configuration:
See also: