Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

how to set preferences for all users?

  • 3 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 2 προβολές
  • Τελευταία απάντηση από Mark Schmidt

more options

I'm working with a windows CITRIX server and I need to disable the 'Remember passwords for sites' preference for all the users on the server. How do you do this for any user launching firefox on the server?

I'm working with a windows CITRIX server and I need to disable the 'Remember passwords for sites' preference for all the users on the server. How do you do this for any user launching firefox on the server?

Όλες οι απαντήσεις (3)

more options

You can lock the signon.rememberSignons pref to false via the mozilla.cfg file. lockPref("signon.rememberSignons", false);


You canuse a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file 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

See:

more options

I added the local-settings.js and mozilla.cfg files to the C:\Program Files\Mozilla Firefox\defaults\pref directory and the remember passwords option still isn't disabled.

contents of my local-settings.js: pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

contents of my mozilla.cfg: lockPref("signon.rememberSignons", false);

more options

The first line of mozilla.cfg never gets read. This line needs to be just two forward slashes.

The contents of the file should look like:

   //
   lockPref("signon.rememberSignons", false);

This file should be in C:\Program Files\Mozilla Firefox\

Only local-settings.js should be in C:\Program Files\Mozilla Firefox\defaults\pref\

If making these changes still does not apply the settings, refer to http://kb.mozillazine.org/Locking_preferences for detailed instructions.