WHM - How to remove/delete a sticky user account

Mar 28, 2006
9
0
151
In WHM:

I created a user account, made that account a reseller. Then deleted the account. The account still shows up as a reseller, although it is not listed in the user account list. Subsequently I wanted to add back the account, but the system will not let me since it says that the domain name is already taken...

This is my first cPanel installation and I am running into some headaches and I am hoping for some community support.

Keith
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
In WHM:

I created a user account, made that account a reseller. Then deleted the account. The account still shows up as a reseller, although it is not listed in the user account list. Subsequently I wanted to add back the account, but the system will not let me since it says that the domain name is already taken...

This is my first cPanel installation and I am running into some headaches and I am hoping for some community support.

Keith
Please check /var/named and see if there is an entry for that domain. If so delete it from there. Then check httpd.conf and delete the corresponding entry for that domain if any, then named.conf is also a place to check and remove the entry. Then try to create the account and then paste the error you get if any. I believe it should be solved now.
 
Mar 28, 2006
9
0
151
Thx, and also thx to layeredtech.com

Thx for you advice AMY, and further to your post I was adviced by my DC support to do this after your suggestion:

execute userdel xxusernamexx, then delete with rm,
all user xxnamexx files from /home/xxusernamexx


execute /scripts/killacct xxusernamexx or xxdomainnamexx from a bash or sh shell.

No lingering info will remain after all steps performed.

Thx for all your help