Question
How do you suspend a cPanel account?
Answer
You can suspend a cPanel account from WHM, the suspendacct script, and API.
- Log in to WHM as the 'root' user
- Navigate to Home / Account Functions / Manage Account Suspension
- Select the cPanel account you want to suspend
-
Click the Continue button
Note: You can specify the reason for the account's suspension in the Reason for Suspension* box and/or check the Prevent resellers from unsuspending box, but these are optional
- Click the Suspend button
- Log in to the server via SSH or access WHM's Terminal as the 'root' user
-
Run the following command:
# /scripts/suspendacct username reason
Note: You will want to replace "username" with the cPanel account's username and "reason" with the reason you are suspending the account.
You can view additional options for the suspendacct script by running:
# /scripts/suspendacct --help
- Log in to the server via SSH or access WHM's Terminal as the 'root' user
-
Run the following command:
# whmapi1 suspendacct user=username reason=Nonpayment leave-ftp-accts-enabled=0
Note: You will want to replace "username" with the cPanel account's username and "Nonpayment" with the reason you are suspending the account
Additional Resources
What Happens When You Suspend an Account
Comments
0 comments
Article is closed for comments.