[cgiwrap-users] Get uid/gid from file-owner
Brought to you by:
nneul
From: blinky <bl...@gm...> - 2000-11-09 07:53:21
|
Hi. I've already sent this mail to Piotr Klaban and he suggested me to send this to the mailing-list... and here it is now :) feature-request: ----- I can't code C. If so I would do it on my own, but here is me suggestion: Whats about adding a feature so cgiwrap gets the UID it should degrate itself to from the uid of the file it executes? So there is no more need for 'username' in 'cgiwrap/username/filename.cgi'. Just 'cgiwrap/filename.cgi'. This is how i'm doing it at the moment: ScriptAlias /cgi-cgiwrap/ /usr/cgiwrap/ <virtualhost ...> [..] Action cgi-wrapper /cgi-cgiwrap/cgiwrap/username/www AddHandler cgi-wrapper .cgi [..] </virtualhost> these two lines wouldn't be necessary if cgiwrap would get the uid it should degrade itself to from the uid of the file-owner (and maybe the gid too). ----- greetings, daniel |