Question
How do I terminate a cPanel account from the command line?
Answer
- Access the server's command line as the root user via SSH or Terminal in WHM.
Run the following command.
# /usr/local/cpanel/scripts/removeacct username
Note: In the command, "username" must be replaced by the cPanel 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.