On Fri, 11 May 2012 17:25:35 -0300 Tessio Fechine <oiss...@gmail.com> wrote
to beginners@perl.org:

> Hello,
> 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?
> 
> Thanks!

I use sudo.

-- 
 @ @ @     Marek Nožka
 '****.@
 :*****`@   email: marek <@t> tlapicka <d.t> net
 `*****'   jabber: tlapicka <@t> jabber <d.t> spseol <d.t> cz
  :****:      web: http://tlapicka.net/
  `****'
  `****'   Powered by Debian GNU/Linux
  `.**'
    ¨¨

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to