Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an iMac which kids use and on startup I have an automator script to reset the wallpaper, dock and other system settings. The only thing I have not managed to do so far is to reset the Firefox profile with custom settings.

I have been able to create a new profile via Terminal, but I do not know how to set the proxy settings through terminal. Any ideas as to how I would go about doing this?

share|improve this question

I just tried setting some test proxy settings, the looking in the profile. In the prefs.js file, I see this:

user_pref("network.proxy.http", "");
user_pref("network.proxy.type", 1);

So I don't know exactly how you're doing it from Terminal, but maybe that will help. If you set it up the way you want, you should be able to copy the settings out of prefs.js.

share|improve this answer
+1. I would just configure the browser as necessary then replace prefs.js wholesale in the new profile with the customized copy. – jtb Jul 30 '09 at 0:57
up vote 1 down vote accepted

I ended up solving this program by including a whole preconfigured Firefox profile in a known location ( and just creating a bash script to copy it over to the profiles folder.

share|improve this answer

If the iMac is on Leopard, and if those kids don't store any documents (well, I guess they do, or will in some future) then one could use the guest account:

You can use parental controls to manage a guest account, for example you can limit the applications a guest user has access to or filter Internet content.
Important: Files created while using a guest account are deleted when the user logs out. A temporary home folder is created for the guest’s files. When the they log out, the home folder and it’s contents are deleted.

And, more important: a recent bug might actually delete data from another account, so ensure you have backups and keep an eye on software update. (Or read How to restore Lost home folder after logging in as guest in Snow Leopard -- which might also apply to folks clicking Guest Account accidentally...)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.