chmod 705 /usr/bin/perl
I don't think it works on suPHP, it only works with php_cli
I don't think it works on suPHP, it only works with php_cli
perl command to limit
Code:chmod 705 /usr/bin/perl
chgrp apache /usr/bin/perl
chmod 705 /usr/bin/perl
@Chatwizrd: You're wrong, it should be 705, not 750.
http://help.directadmin.com/item.php?id=247
Code:chgrp apache /usr/bin/perl chmod 705 /usr/bin/perl
Perl is still active but users should not be able to use it anymore.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";
chmod 755 /usr/bin/perl
chmod 705 /usr/bin/perl