DirectAdmin Upgrading CSF Firewall

(This post is meant for DirectAdmin beginners, like me.)


Finally got the chance to play with one of the production server - to upgrade the CSF Firewall.

For this, I have to SSH to the server because upgrading CSF needs root access.
Due to restrictions in "DirectAdmin you must login to the root shell" to upgrade csf using
csf -u

So I SSH-ed to the server and ran the command "csf -u". But this time, I get the following error.
-bash: csf: command not found

Okay, the path to CSF is not correct, so just need to
cd /usr/sbin/

Then gain root access,
su -

That's it, can upgrade CSF using the command "csf -u" automatically!

:)

Comments

Popular posts from this blog

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient