On Fri, Aug 6, 2010 at 2:30 PM, Bhargav Prasanna
<[email protected]> wrote:
> I'm not sure how being a non-root user will affect anything.
> But to the question of how, I believe the answer can be found in our
> very own chmod.
> If your script is located in /foo/bar/script.sh, you have to just do a
> "chmod u+s /foo/bar/script.sh" as root.

As a security precaution, Unix systems never honor set UID/GID
bit for shell/perl/python/other scripts.

Set UID works only on binaries.

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to