This document explains the differences between account suspension, bandwidth limiting, and account termination. This document also describes why you might terminate an account or suspend an account.
The system does not automatically initiate account suspension.
When you suspend an account, the system imposes several limitations that remain in place until you unsuspend the account. You may wish to suspend an account for the following reasons:
To suspend or unsuspend an account, use one of the following methods:
/usr/local/cpanel/scripts/suspendacct— Suspends an account
/usr/local/cpanel/scripts/unsuspendacct— Unsuspends an account.
If you suspend an account, the following statements are true:
cpuserfile contains the
/usr/local/apache/conf/includes/account_suspensions.conf file contains a Virtual Host include for the user.
This file contains a
directive that redirects website traffic for the user's account to an account suspension page. This directive resembles the following example:
<Directory "/home/cptest"> AllowOverride none RedirectMatch ^/(?!cgi-sys/suspendedpage.cgi).* /cgi-sys/suspendedpage.cgi </Directory>
/etc/proftpd/usernamefiles with two exclamation points (
/var/cpanel/suspended/userfile contains a reason for suspension or the account's previous shell location.
The system places
*LOCKED* entries around the password entries in the mail user's
/home/user/etc/example.com/shadow file, for example:
For more information about the effects of account suspension, read our What Happens When You Suspend an Account documentation.
The system can automatically initiate temporary limits on accounts that exceed the monthly bandwidth limit. The system automatically removes the limits at the beginning of each month, when the account no longer exceeds the limit.
The system only imposes bandwidth limiting on an account's Apache services. Users can still access FTP, Mail, and DAV services, even if their account exceeds the monthly bandwidth limit.
If the system imposes account limitations due to bandwidth limiting, the following statements are true:
./domainfiles that correspond to the account.
To remove these limitations, use one of the following methods to raise the monthly bandwidth limit:
Increase the bandwidth limit for a single user in WHM's Limit Bandwidth Usage interface (WHM >> Home >> Account Functions >> Limit Bandwidth Usage).
Increase the Monthly Bandwidth Limit setting for a single user in WHM's Modify an Account interface (WHM >> Home >> Account Functions >> Modify an Account).
Changes to this setting may trigger a package conflict. For more information, read our Modify an Account documentation.
When you terminate an account, the system permanently deletes all of its data from the server. You may wish to terminate an account for the following reasons:
To terminate an account, use one of the following methods:
/usr/local/cpanel/scripts/removeacct script via the command line as the
If you terminate an account, the following statements are true:
The system deletes the account's DNS zones by default.
You can choose to keep the account's DNS zone. This is useful, for example, when you need to move the account to a different server that belongs in the same DNS cluster.