mattbasta/Legend-of-Adventure — Issue #9: Server should detect when it is running as root and drop privileges.
Author: mattbasta
Created: 2011-10-19 16:47:03+00:00
State: open

In order to bind to lower ports (1-1024), the server needs to run as root. The server should detect this and drop privileges in order to run as a normal user once the socket has been bound.

http://stackoverflow.com/questions/2699907/dropping-root-permissions-in-python