cgit and setuid

Lukas Fleischer cgit at cryptocrack.de
Sun Sep 25 23:22:00 CEST 2011


On Sun, Sep 25, 2011 at 10:48:39PM +0200, Julius Plenz wrote:
> Hi!
> 
> Today I tried to make the cgit binary run as system user "git",
> although it is regularly spawned by the webserver. I wrote a small
> wrapper to accomplish this. If you're interested, I wrote down how
> I did it: http://blog.plenz.com/2011-09/cgit-and-setuid.html

suEXEC might be the more standard way to accomplish this. Not sure how
it works with lighty, but it's quite simple to setup on Apache. Have a
look here [1].

[1] http://redmine.lighttpd.net/wiki/lighttpd/SuEXEC




More information about the CGit mailing list