suid root - bash script
Shachar Shemesh
shachar at shemesh.biz
Thu Apr 23 13:29:57 IDT 2009
Noam Rathaus wrote:
>
>>> not to
>>> mention the fact that if this perl script or c program wrapper is then
>>> called from Apache the restriction still applies and I haven't been
>>> able to get around it.
>>>
At least on my system, perl installs a suid helper that does this for
you. You just mark the perl script as suid, and it auto-detects that,
and uses the helper to run the actual script. The result is you just set
the perl script suid and that's it.
I already tested it from Apache, and it worked for me (several years ago).
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090423/1c5e1f9e/attachment.html>
More information about the Linux-il
mailing list