On 05/11/2012 01:25 PM, Tessio Fechine wrote:
Everywhere I read about cgi setuid programs says that it is wrong and must never be done, but nobody says how to circumvent the need of it. In my case, I need to read a password from a protected file (read only, owned by root) to connect to a database. How can I do this without running setuid?
How about changing the owner of the file to match the user your web server runs under?
HTH, David -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/