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

Key: QB-1192
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Michal Muszynski
Votes: 4
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Ability to run QuickBuild server on port lower than 1024

Created: 19/Jan/12 09:08 AM   Updated: 03/Jun/12 09:24 AM
Component/s: None
Affects Version/s: 4.0.19, 4.0.20, 4.0.21, 4.0.22, 4.0.23, 4.0.24
Fix Version/s: 4.0.41

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: 64-bit SLES Linux 10 SP3


 Description  « Hide
Right now our QuickBuild server runs on port 8810 and with SSL enabled. Users have to add a port number to access a website, e.g https://quickbuild.company.com:8810. We can get rid of port number by running QuickBuild behind Apache, but this leaves us with yet another service that has to be maintained (plus, restarting Apache requires separate privileges).

We'd love to run QuickBuild server on standard SSL port (443) without Apache, but Linux security mechanisms don't allow non-root users to bind to ports lower than 1024. Could you implement a mechanism of droping privileges like the one in Apache? We would then run `quickbuild-XX/bin/server.sh start` from root account and QB would drop privileges to a normal user (chosen by us).

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [03/Jun/12 09:24 AM]
This can be implemented by modifying "bin/server.sh" (or "bin/agent.sh" for agents) to uncomment below line:
#RUN_AS_USER=