Jameson Rollins <jrollins <at> gmail.com> writes:
security.ask_for_password 2 security.password_lifetime 5 signon.expireMasterPassword true
The XUL/JS code associated with the master password configuration is in chrome://pippki/content/pref-masterpass.xul And these values are just "output" of the configuration form. Which means that even if you change them, the security token won't be affected. So next idea is naturally to copy/paste this URL in FF. And indeed it will display the form but it won't be initialised (no radio buttons checked for instance) because the "onload" callback fails. The solution I found is to manually call the onLoad callback and then manually press the missing submit button! Submit the following URLs one after the other: chrome://pippki/content/pref-masterpass.xul javascript:onMasterPasswordLoad() Then change your settings and finally submit the following URL: javascript:changePasswordSettings(false) And that's it! Another solution is to directly access the security token in a javascript console: Components.classes["@mozilla.org/security/pk11tokendb;1"] .getService(Components.interfaces.nsIPK11TokenDB).getInternalKeyToken() .getAskPasswordTimes() Components.classes["@mozilla.org/security/pk11tokendb;1"] .getService(Components.interfaces.nsIPK11TokenDB).getInternalKeyToken() .getAskPasswordTimeout() Components.classes["@mozilla.org/security/pk11tokendb;1"] .getService(Components.interfaces.nsIPK11TokenDB).getInternalKeyToken() .setAskPasswordDefaults(1,5) -- Michel D'HOOGE -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]