How to uninstall Config Server Explorer (CSE)

Config Server Explorer or CSE is an extremely powerful but dangerous, repeat *dangerous* utility. There is the warning that is shown on WHM CSE area itself.

STOP! WARNING!
While this utility can be very useful it is also very dangerous indeed. You can easily render your server inoperable and unrecoverable by performing ill advised actions. No warranty or guarantee is provided with the product that protects against system damage.

There are situations when you need it badly to explorer file system within WHM as it gives you full access of hard drives and file system as root. I usually install it for a specific task and then uninstall after it is accomplished.

There are just two files that you need to remove to uninstall Config Server Explorer/ CSE. Execute following command on ssh prompt.

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt

and yes, installing it is also one step. If you copy paste these commands at your ssh, and login to WHM you will find it installed.

rm -fv cse.tgz
wget http://www.configserver.com/free/cse.tgz
tar -xzf cse.tgz
cd cse
sh install.sh
cd ..
rm -Rfv cse/ cse.tgz