Changing system-wide proxy on Ubuntu

For the longest time I was thoroughly annoyed by how Ubuntu forced me to enter my password twice every time I need to switch the proxy settings.

The following BLOG entry finally solved this for me (for now)

Edit /usr/share/polkit-1/actions/com.ubuntu.systemservice.policy as follows

<action id="com.ubuntu.systemservice.setproxy">
  <description>Set current global proxy</description>
  <message>System policy prevents setting proxy settings</message>
    <!-- PTI : original settings