Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

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.