How to Suspend an account via root SSH

SUPPORT US
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.

Command:

To suspend an account, use:

/scripts/suspendacct <accountname>

To unsuspend an account, use:

/scripts/unsuspendacct <accountname>
SUPPORT US
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 *