Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

how to set preferences for all users?

  • 3 risposte
  • 1 ha questo problema
  • 2 visualizzazioni
  • Ultima risposta di 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?

Tutte le risposte (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.