How to Suspend an account via root SSH

Pay for an account and support us

In or , there is an option to suspend a particular / for a particular period. This option is very helpful to deactivate an account if we found any malicious activities like spamming, phishing etc from that account. An account can be suspended or unsuspended via line by using cPanel scripts.

The Back-end scripts are available to do the same in a WHM or cPanel server. We can simply un-suspend and suspend account via command-line using those cPanel scripts. Here we have listed those scripts for suspending and un-suspending cPanel accounts.


To suspend an account, use:

/scripts/suspendacct <accountname>

To unsuspend an account, use:

/scripts/unsuspendacct <accountname>
Pay for an account and support usPay for an account and support us
Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *