setuid shell scripts

Henry Spencer henry at utzoo.uucp
Sat Oct 22 03:33:34 AEST 1988


There are actually two problems here.  One is with the #! machinery,
and is the one that Guy is referring to.  That can probably be fixed if
one is sufficiently clever, and/or if one accepts a speed penalty.

The other is the general problem with setuid shell scripts:  the semantics
of the shell are quite complex and there is little control over low-level
details, which makes it relatively difficult to write cracker-proof shell
scripts.  This problem is solvable in principle, but it's one of those
cases where there have been so many problems found that nobody is at all
confident that there aren't any more.
-- 
The meek can have the Earth;    |    Henry Spencer at U of Toronto Zoology
the rest of us have other plans.|uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.unix.wizards mailing list