On Sat, May 14, 2011 at 3:09 PM, Randal L. Schwartz
<[email protected]> wrote:
>>>>>> "Pan" == Pan Tsu <[email protected]> writes:

[...]

> (Untested) why not just "#!/usr/local/bin/sudo" ?  It'll be given the
> filename as an argument.

Precisely. I think this thread should be forked to something like
"suid versus sudo for scripts"?

I second the sudo idea instead of suiding the interpreter, and it's a
better solution to the one I have used in the past like C-wrapping and
suiding specific operations.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to