+2 votes
in General by (11.1k points)

I installed CentOS Web Panel (CWP) on my VPS and added a couple of users. When I try to delete any user, it gives the error: User Account Removal FAILED! User account folder still exists!

How can I delete a user?

1 Answer

+1 vote
by (15.8k points)

Follow these steps to delete a user in case you are getting error: User Account Removal FAILED! User account folder still exists!

1. If you have root access, SSH to your VPS using root.

2. cd /home (go to home directory)

3. rm -rf username  (remove folder for the user)

4. Now delete the user from CentOS Web Panel (CWP) so that DNS records and other data can be removed.

...