Brandon Mitchell wrote:
> > Scripts are not allowed to set UID, it's a security feature. I don't
> > know where this occurs, but it's pretty low level, perhaps in the
> > kernel itself or in the shell, and there's no getting around it. There 
> > are just too many holes that allowing scripts to be setuid root would
> > allow and so that capability is disallowed.
> 
> It's in bash (which is also sh on most linux systems), a pain in the a**,
> I mean, "feature".  I don't know of any other shells that do this.

No, it's in the kernel. Any executable that starts with "#!" does this,
because the kernel is repsonsible for that magic thing working.

-- 
see shy jo

Reply via email to