[Buildbot-devel] drop privileges in master?

Ian Zimmerman itz at buug.org
Mon Aug 1 19:06:37 UTC 2011


I would really like to have the web status served on port 80,
but I also dislike the idea of running the build master as root.

In other daemons, the usual solution is that the daemon opens
the port before doing anything else, then does a setuid() to a
configurable user.  Is there anything similar I can do with the
buildmaster?

Or maybe there's a way to do that with inetd?  Unfortunately I
have almost no experience with inetd as most daemons are meant to
run standalone on newish Linuxen.

-- 
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.




More information about the devel mailing list