View Single Post
  #4 (permalink)  
Old 07-06-2009, 02:25 PM
Spiral's Avatar
Spiral Spiral is offline
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
Wink

Quote:
Originally Posted by kujoez View Post
Thanks for the reply! The server in question is my old server and all of the accounts were backed up before and after they were migrated to the new server.
Then have fun! I've used the simple script above to wipe out quite a few
old servers after migrations so that should take care of it for you.

Basically just reads in the list of cpanel accounts from the system and
executes a killacct against each login name ... simple as that!

Nice thing is if for some odd reason the wipe process hangs anywhere,
you'll pickup where you left off when you start the script again and
don't have to redo any previous account deletions because once
an account is deleted, they will no longer be read as a valid cpanel login
the next time the script is executed.

Last edited by Spiral; 07-06-2009 at 02:33 PM.
Reply With Quote