sudo in a shell script
Lee Braiden
lee_b at digitalunleashed.com
Fri Jul 15 10:32:52 UTC 2005
On Friday 15 July 2005 11:14, Dennis Kaarsemaker wrote:
> That's not possible for shell scripts...
>
> Scripts can only be setuid root if the interpreter for that script is
> setuid root (and NEVER EVER make bash setuid root!). Perl has a special
> setuid root interpreter, no other scripted language has that afaik.
Ohh. Yes, I recall hearing that, now that you mention it; shame it didn't
stick in my head :)
--
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050715/985c427c/attachment.sig>
More information about the ubuntu-users
mailing list