suid root - bash script

suid root - bash script

Erez D erez0001 at gmail.com
Thu Apr 23 08:56:45 IDT 2009


hi

i have a bush script i want to be run with root permisions, no matter which
user executes it.

if it was a binary, i would only need set it suid root.

but as it is a bash script, suid-ing it doesn't do anything, and suid-ing
/bin/bash itself will make all scripts run suid root, which is surly not
what i want.


there must be a solution for that.

anyone ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090423/87e44f99/attachment.html>


More information about the Linux-il mailing list