HOSTSEO BLOG

This is a simple permission issue in directadmin. The CSF in directadmin is running a setuid program. So it simply need to enable the setuid permission for the…

CSF Directadmin Issue Permission denied – Solved

This is a simple permission issue in directadmin. The CSF in directadmin is running a setuid program. So it simply need to enable the  setuid  permission for the root user in this  program.   You may need to look into the following  file ,

# ls -al /usr/local/directadmin/plugins/csf/exec/csf
-rwxr-xr-x 1 root root 8112 Jun 23 10:37 /usr/local/directadmin/plugins/csf/exec/csf

Now you need to enable the “S” bit as follows,

#  chmod  4755  /usr/local/directadmin/plugins/csf/exec/csf
# ll /usr/local/directadmin/plugins/csf/exec/csf 
-rwsr-xr-x 1 root root 8112 Jun 23 10:37 /usr/local/directadmin/plugins/csf/exec/csf

Now login to the directadmin  as admin user and check the CSF page. It must work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Human security check Solve the quick calculation to publish your comment.