Where are the about:config settings for a profile stored?

I am setting up a custom firefox profile and would like to tweak some of the options that are accessed via about:config.

I would like to know where this information is stored and whether I am able to modify these options outside of the browser.

I am setting up a custom firefox profile and would like to tweak some of the options that are accessed via about:config.
I would like to know where this information is stored and whether I am able to modify these options outside of the browser.

They're stored in the ''prefs.js'' file, which is a plain text file.
* http://kb.mozillazine.org/Prefs.js_file
Preferences can also be set at startup using the ''user.js'' file. This file doesn't exist by default.
* http://kb.mozillazine.org/User.js_file
Preferences can also be locked with the ''mozilla.cfg'' file in the installation folder. This file doesn't exist by default.
* http://kb.mozillazine.org/Locking_preferences