Hi Guys,
Im trying to apply a setting to disable the remember sign on through lockpref however Im getting the error message "Configuration Error Failed to read the configuration file. Please contact your system administrator" when I launch Firefox.
On the C:\Program Files\Mozilla Firefox\defaults\pref I created local-settings.js and mozilla.cfg below are the details of the files.
local-settings.js:
//local settings to edit config!
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
mozilla.cfg:
//Changes for the default pref and lockpref
lockPref("signon.rememberSignons", false);
Can you let me know what the problem is? Any help would be appreciated.
modify Firefox Lock and Pref settings
-
- Posts: 29
- Joined: October 23rd, 2017, 1:23 pm
Re: modify Firefox Lock and Pref settings
Hi,
it works for me.
The mozilla.cfg has to be in the directory C:\Program Files\Mozilla Firefox.
Is it there?
it works for me.
The mozilla.cfg has to be in the directory C:\Program Files\Mozilla Firefox.
Is it there?
- dickvl
- Posts: 54163
- Joined: July 18th, 2005, 3:25 am
-
- Posts: 4
- Joined: February 15th, 2018, 4:40 pm
Re: modify Firefox Lock and Pref settings
aborix wrote:Hi,
it works for me.
The mozilla.cfg has to be in the directory C:\Program Files\Mozilla Firefox.
Is it there?
Nice..It works thank you very much
-
- Posts: 4
- Joined: February 15th, 2018, 4:40 pm
Re: modify Firefox Lock and Pref settings
Do you guys know the exact LockPref for "Clear history when Firefox closes"? I want it checked and greyed out for users
-
- Posts: 4
- Joined: February 15th, 2018, 4:40 pm
Re: modify Firefox Lock and Pref settings
oh looks like I found it. Its the sanitize line
//
lockPref("signon.rememberSignons", false);
lockPref("privacy.sanitize.sanitizeOnShutdown", true); // Always clear my private data when I close Firefox
lockPref("privacy.sanitize.timeSpan", 0); // 0 = Clear everything
lockPref("privacy.clearOnShutdown.history", true);
lockPref("privacy.clearOnShutdown.formdata", true);
lockPref("privacy.clearOnShutdown.passwords", true);
lockPref("privacy.clearOnShutdown.downloads", true);
lockPref("privacy.clearOnShutdown.cookies", true);
lockPref("privacy.clearOnShutdown.cache", true);
lockPref("privacy.clearOnShutdown.sessions", true);
lockPref("privacy.clearOnShutdown.offlineApps", true);
lockPref("privacy.clearOnShutdown.siteSettings", true);
lockPref("privacy.cpd.history", true);
lockPref("privacy.cpd.formdata", true);
lockPref("privacy.cpd.passwords", true);
//
lockPref("signon.rememberSignons", false);
lockPref("privacy.sanitize.sanitizeOnShutdown", true); // Always clear my private data when I close Firefox
lockPref("privacy.sanitize.timeSpan", 0); // 0 = Clear everything
lockPref("privacy.clearOnShutdown.history", true);
lockPref("privacy.clearOnShutdown.formdata", true);
lockPref("privacy.clearOnShutdown.passwords", true);
lockPref("privacy.clearOnShutdown.downloads", true);
lockPref("privacy.clearOnShutdown.cookies", true);
lockPref("privacy.clearOnShutdown.cache", true);
lockPref("privacy.clearOnShutdown.sessions", true);
lockPref("privacy.clearOnShutdown.offlineApps", true);
lockPref("privacy.clearOnShutdown.siteSettings", true);
lockPref("privacy.cpd.history", true);
lockPref("privacy.cpd.formdata", true);
lockPref("privacy.cpd.passwords", true);