Perl and setuid

John Evans evansj at kilnar.com
Tue Jun 5 17:05:25 CDT 2001


On Tue, 5 Jun 2001, Keary Suska wrote:

> Isn't that supposed to be "chmod 4755" ?

4755 is setuid. 6755 is setuid and setgid. Either one should work for what
I'm doing and I've tried both to no avail.


>
> Remember that suid Perl scripts have taint checking automatically turned on,
> which can cause significant gotchas for scripts that aren't expecting it. Of
> course, any good cgi should be run under taint checking....

It was written with taint checking already in mind, so that's not a
biggie. It's handling everything in that aspect fine.

-- 
John Evans
http://evansj.kilnar.com/





More information about the Pikes-peak-pm mailing list