Author Topic: How to delete account manualy  (Read 14460 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to delete account manualy
« on: April 18, 2015, 03:39:20 PM »
Dear Master,
I try to delete account via web panel but error.
And if we try to add the same account, it's error Username XXX already exists in database!

Can anyone help me how to delete / clean an account trough SSH command?

Thank you

Offline
*
Re: How to delete account manualy
« Reply #1 on: April 18, 2015, 04:10:01 PM »
Sorry.. I have solve this..
just delete user in root_cwp database

thankyou

Offline
**
Re: How to delete account manualy
« Reply #2 on: May 05, 2015, 08:41:31 PM »
You also need to remove the account from the CENTOS system, otherwise you might be able to access throw ftp or ssh

Offline
*
Re: How to delete account manualy
« Reply #3 on: May 08, 2015, 03:27:19 PM »
You also need to remove the account from the CENTOS system, otherwise you might be able to access throw ftp or ssh

Can you describe how me to delete an account from CentOS System?

Offline
*
Re: How to delete account manualy
« Reply #4 on: April 23, 2017, 03:42:59 PM »
Dear friend,

Thanks in advance

i have similar situation, how to delete account manualy from terminal, because I have reset the panel and I can only use termin

Wait for your early reply.

Offline
*****
Re: How to delete account manualy
« Reply #5 on: May 17, 2020, 08:26:11 PM »
I had a case where a deleted user was not in the CWP MySQL DB, but still left a trailing CentOS user and config files.
Code: [Select]
sudo userdel -f $USERto delete the user account, home directory, and mail spool.

But then I had to do a
Code: [Select]
locate $USER to find other straggler files (SSL, MySQL DB backups, Apache logs, etc.). Then I manually deleted all those orphaned files. Then I could re-migrate the user from a cPanel server.