Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line.

To use the /usr/local/cpanel/scripts/removeacct script to terminate a cPanel account from the command line, run the following command:

/usr/local/cpanel/scripts/removeacct username [options]

Options

When you run the /scripts/removeacct script, you can specify the following options:

--force Bypass the confirmation step in the script and immediately terminate the account.
ex. /usr/local/cpanel/scripts/removeacctusername --force

--keepdns Retain the account's zone files from the DNS server when the script terminates the account.
ex, /usr/local/cpanel/scripts/removeacctusername --keepdns

Esta resposta foi útil?

 Imprimir este Artigo

Leia também

Check cPanel License Validity from Command Line

To check a cpanel license run command: /usr/local/cpanel/cpkeyclt   Example Successful...

Video: Add MX Entry in cPanel

This video tutorial provides Step-by-Step instructions for adding an MX entry in cPanel Shared...

Fix Corrupted named.conf in cPanel

Sometimes named.conf gets corrupted on cPanel server. Here is the way to fix that in cPanel...

Remove a Service from ChkServd Monitoring - cPanel and WHM

In some circumstances, ChkservD cPanel monitoring will report the status of services which are...

How to Install and Run MTR Report

In this article, we will demonstrate how to install MTR on a CentOS server. MTR is a powerful...