Re: [RFC][PATCH] scripts with stdin replaced

Stefan Monnier (monnier+misc/news@tequila.cs.yale.edu)
Tue, 13 Jul 1999 14:51:10 -0400


> It's bad when simply setting a flag with chmod has such a surprising
> effect, but there's not much we can do about it.

Making a script setuid rarely if ever consists just in a `chmod'.
If you use `basename $0` in your script, chances are it is not
secure and should not be setuid anyway.

Stefan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/