Now you can fully delete resellers and their sites in Ensim Pro

Here is something I slapped together. I needed to delete a reseller with hundreds of domains from Ensim Pro so I threw together a shell script and a perl script (since I don't know much Python) to add-on to the script here:
http://forums.ev1servers.net/showthr...805#post224805

and also incorporating a script from here:
http://wwd-hosting.net/ensim/

So most of the credit goes to the creators of those scripts. The problem was that the delete script didn't get rid of DNS zones and MySQL databases. Now you can completely remove a reseller and all his/her "crap". Here's how:
Code:
wget http://h4y-platinum.com/downloads/deleteresellers.tgz
tar -xvzf deleteresellers.tgz
cd deleteall
./deleteall resellername
That's all! Feel free to edit my scripts to add on to them and feel free to point out any potential bugs. This should work for Ensim Pro and Ensim 3.1 users (and possibly Basic too if the python scripts are compatible). Ensim 3.1 users may have to replace the first line of the python scripts (delreseller and get_reseller_sites.py) to:

#!/usr/bin/python2.1

Hope this helps someone.

 

 

 

 

Top