How to Delete a cPanel Account From SSH

You can also terminate an account using SSH/command line if wanted using the following script. Make sure to replace [username] with the cPanel username in the examples below:

/scripts/removeacct [username] [options]
1
/scripts/removeacct [username] [options]
–force Bypass the confirmation step in the script and immediately terminate the account.
Example: /scripts/removeacct [username] --force
–keepdns Keep the account’s zone files in the DNS server when the script terminates the account.
Example: /scripts/removeacct [username] --keepdns

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

List of Common Available Ports On Cloud And VPS Servers

Inside our Cloud and VPS hosting services we want to make assured our clienteles have the skill...

Cloud Hosting VS. Shared Hosting

Shared hosting is the general hosting solution. But using a shared hosting solution user has to...

How to block IP using .htaccess file?

1) You may block entrance to your website from particular IP addresses using .htaccess file.2)...

How to Delete a cPanel From WHM

Eliminating an existing cPanel account is a very fast and easy process, but be advised this move...

How to disable mod_security?

Mod_security can be easily disabled with the help of .htaccess. Here's the code that you will...