History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-368
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

MacProxyManager should use ncutil if it is available, together with a setuid root shell script

Created: 11/Oct/07 06:28 PM   Updated: 12/Aug/08 05:37 PM
Component/s: Launcher - Safari
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
As I suggested in SRC-13, we should write a shell script that wraps around ncutil and uses it to write out HTTP proxy settings. We should make it simple and write it in a highly defensive style, and advocate to our users that they install this script on their path with setuid root.

Then, for our part, we should look to see if the script is available (perhaps adding [ulp] yet another command line argument) as well as ncutil. If we find everything we need, we use ncutil for everything. (ncutil is BSD code, and so I suppose we could just provide it ourselves, but I think installing it requires root access, and creating that setuid root script would DEFINITELY require root access; ideally, I'd like not to have to run the whole Selenium Server as root just to configure the proxy settings.)

If ncutil is not available, we should fall back to using scutil + networksetup. (We should query networksetup to see if it supports configuring PAC files and use that functionality if it's available.) If networksetup isn't available, then we should fail with a link to a web page explaining our situation, like the one we've already got for Windows reg.exe issues: http://wiki.openqa.org/display/SRC/Windows+Registry+Support



 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.