dhunter65
02-21-2007, 12:55 PM
I'm having a problem removing an account from cPanel. I transferred the account to another server which worked without a problem. I then removed the zone file from the original server trying to resolve some e-mail issues. This basically removed the account from WHM. So I started the process of removing the account manually. First I followed these steps:
* userdel -r username to remove the user and home directory
* groupdel groupname to remove the group
* Delete the zone from /var/named and edit /etc/named.conf to remove the domain from BIND. (already completed through WHM)
* Delete the /var/cpanel/users/username file.
* Edit /usr/local/apache/conf/httpd.conf to remove the site VirtualHost entry.
But there is still some evidence of the account on the server. If I do a find on "bluemoon" I get the following:
root@host [/]# find . -name bluemoon
./var/cpanel/bandwidth/bluemoon
./var/cpanel/lastrun/bluemoon
./var/spool/cron/bluemoon
./home/virtfs/bluemoon
./home/virtfs/bluemoon/home/bluemoon
./usr/local/cpanel/base/horde/imp/themes/bluemoon
./usr/local/cpanel/base/horde/themes/bluemoon
./etc/proftpd/bluemoon
Should I just delete each of these files? And if so, is that all I need to do?
Thanks
* userdel -r username to remove the user and home directory
* groupdel groupname to remove the group
* Delete the zone from /var/named and edit /etc/named.conf to remove the domain from BIND. (already completed through WHM)
* Delete the /var/cpanel/users/username file.
* Edit /usr/local/apache/conf/httpd.conf to remove the site VirtualHost entry.
But there is still some evidence of the account on the server. If I do a find on "bluemoon" I get the following:
root@host [/]# find . -name bluemoon
./var/cpanel/bandwidth/bluemoon
./var/cpanel/lastrun/bluemoon
./var/spool/cron/bluemoon
./home/virtfs/bluemoon
./home/virtfs/bluemoon/home/bluemoon
./usr/local/cpanel/base/horde/imp/themes/bluemoon
./usr/local/cpanel/base/horde/themes/bluemoon
./etc/proftpd/bluemoon
Should I just delete each of these files? And if so, is that all I need to do?
Thanks
