Displaying 1 result from an estimated 1 matches for "testsetuid".
2007 Nov 16
1
Problem running a setuid Perl script on CentOS 4.5
I'm trying to create a setuid Perl script (yes, I am aware about the
security implications), but am getting this error:
% cat testsetuid.pl
#!/usr/bin/perl -UT
print "My real user id is $< but my effective user id is $>\n";
exit(0);
% ./testsetuid.pl
Can't do setuid (cannot exec sperl)
I am using the stock Perl that came with CentOS 4.5. The problem I
am trying to solve is to run a software bui...