Introduction
This article provides the steps needed to terminate a cPanel account from the command line using the removeacct
script.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
/scripts/removeacct $cpusername
Please note that "$cpusername" must be replaced by the username of the account to remove. - Confirm that you want to remove the account by typing
y
.Are you sure you want to remove the account "$cpusername", and DNS zone files for the user? [y/N]? y
Comments
0 comments
Article is closed for comments.