Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

how to set preferences for all users?

  • 3 réponses
  • 1 a ce problème
  • 2 vues
  • Dernière réponse par 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?

Toutes les réponses (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.