Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 17:46:45 -0400 (AST)
From:      Michael Richards <miker@scifair.acadiau.ca>
To:        questions@FreeBSD.ORG
Subject:   broken suid perl5 in 3.0-RELEASE
Message-ID:  <Pine.BSF.3.96.981217173943.24990A-100000@scifair.acadiau.ca>

next in thread | raw e-mail | index | archive | help
Hi.
I normally run several perl scripts suid. Perl5 appears to be broken in
3.0-RELEASE and it won't run anything with the suid bit set.

For example:
#!/usr/bin/perl
print "test\n";

iforget:/usr/tmp> chmod 755 test
iforget:/usr/tmp> ./test
test

iforget:/usr/tmp> chmod 6755 test
iforget:/usr/tmp> ./test
Can't do setuid

Now another machine that still has perl5 installed in /usr/local/bin/perl
will run this script happily. I have tested this out and it's not only my
3.0-RELEASE box. 3 different machines work consistantly as described...

Any ideas?

-Michael


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981217173943.24990A-100000>