Richard G
Verified User
This was from the old "basic system security" help page from Directadmin, but it's not in the docs anymore. Now they use a different way where you can put users in a group which can not use perl
This was the old way from the old help page:
Is this still a good method? Or good this cause issues with other system things using perl?
This was the old way from the old help page:
Code:
chgrp apache /usr/bin/perl /usr/bin/wget /usr/local/bin/wget /usr/local/bin/curl /usr/bin/curl /usr/bin/python
chmod 705 /usr/bin/perl /usr/bin/wget /usr/local/bin/wget /usr/local/bin/curl /usr/bin/curl /usr/bin/python
Is this still a good method? Or good this cause issues with other system things using perl?