{"id":155,"date":"2021-07-23T12:18:03","date_gmt":"2021-07-23T12:18:03","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/account-suspension-versus-bandwidth-limiting-and-account-termination\/"},"modified":"2021-07-23T12:18:03","modified_gmt":"2021-07-23T12:18:03","slug":"account-suspension-versus-bandwidth-limiting-and-account-termination","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/account-suspension-versus-bandwidth-limiting-and-account-termination\/","title":{"rendered":"Account Suspension Versus Bandwidth Limiting and Account Termination"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>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.<\/p>\n<h2 id=\"account-suspension\">Account suspension<\/h2>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>The system does <strong>not<\/strong> automatically initiate account suspension.<\/p>\n<\/p><\/div>\n<\/div>\n<p>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:<\/p>\n<ul>\n<li>\n<p>A user fails to comply with your terms of service.<\/p>\n<\/li>\n<li>\n<p>A user did not pay their bill for service.<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"suspend-or-unsuspend-an-account\">Suspend or unsuspend an account<\/h3>\n<p>To suspend or unsuspend an account, use one of the following methods:<\/p>\n<ul>\n<li>\n<p>WHM\u2019s <em>Manage Account Suspension<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Account Functions &gt;&gt; Manage Account Suspension<\/em>).<\/p>\n<\/li>\n<li>\n<p>From the command line, run either of the following scripts:<\/p>\n<ul>\n<li><code>\/usr\/local\/cpanel\/scripts\/suspendacct<\/code> \u2014 Suspends an account<\/li>\n<li><code>\/usr\/local\/cpanel\/scripts\/unsuspendacct<\/code> \u2014 Unsuspends an account.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>If you suspend an account, the following statements are true:<\/p>\n<ul>\n<li>\n<p>The account\u2019s <code>cpuser<\/code> file contains the <code>SUSPENDED=1<\/code> flag.<\/p>\n<\/li>\n<li>\n<p>Apache\u2019s <code>\/usr\/local\/apache\/conf\/includes\/account_suspensions.conf<\/code> file contains a Virtual Host include for the user. This file contains a <code>RedirectMatch<\/code> directive that redirects website traffic for the user\u2019s account to an account suspension page. This directive resembles the following example:\n<\/p>\n<div class=\"highlight\">\n<div style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\">\n<table style=\"border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;\">\n<tr>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">1\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">2\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">3\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">4\n<\/span><\/code><\/pre>\n<\/td>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\">&lt;<span style=\"color:#a6e22e\">Directory<\/span> <span style=\"color:#e6db74\">\"\/home\/cptest\"<\/span>&gt;\n<span style=\"color:#a6e22e\">AllowOverride<\/span> <span style=\"color:#a6e22e\">none<\/span>\n<span style=\"color:#a6e22e\">RedirectMatch<\/span> ^<span style=\"color:#f92672\">\/<\/span>(<span style=\"color:#960050;background-color:#1e0010\">?<\/span>!<span style=\"color:#a6e22e\">cgi<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">sys<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">suspendedpage<\/span>.<span style=\"color:#a6e22e\">cgi<\/span>).<span style=\"color:#f92672\">*<\/span> <span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">cgi<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">sys<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">suspendedpage<\/span>.<span style=\"color:#a6e22e\">cgi<\/span>\n&lt;<span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">Directory<\/span>&gt;<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<\/li>\n<li>\n<p>The system prepends the account\u2019s password hash in the <code>\/etc\/shadow<\/code> and <code>\/etc\/proftpd\/username<\/code> files with two exclamation points (<code>!!<\/code>).<\/p>\n<\/li>\n<li>\n<p>The <code>\/var\/cpanel\/suspended\/user<\/code> file contains a reason for suspension or the account\u2019s previous shell location.<\/p>\n<\/li>\n<li>\n<p>The system places <code>*LOCKED*<\/code> entries around the password entries in the mail user\u2019s <code>\/home\/user\/etc\/example.com\/shadow<\/code> file. For example:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">hue:<span style=\"color:#f92672\"><em><\/em><\/span>LOCKED<span style=\"color:#f92672\"><\/span>$6$SK2DwDferi8HQUIn$pDNuLqgZPE<span style=\"color:#f92672\">.<\/span>NzY1rEuhsKpFwHrmzkrkfLe5rCMxt7rU6te8cFqy5MDVyL2OtNHpylyzRN7txUJCgb7NIqI1Eq<span style=\"color:#f92672\">\/<\/span>:<span style=\"color:#ae81ff\">17073<\/span><span style=\"color:#f92672\">::::::<em><\/em><\/span>LOCKED<span style=\"color:#f92672\"><\/span><\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>The system allows email delivery and forwarding in addition to DNS queries.<\/p>\n<\/li>\n<li>\n<p>The system will <strong>not<\/strong> suspend any of the account\u2019s Amazon RDS remote databases.<\/p>\n<\/li>\n<\/ul>\n<p>For more information about the effects of account suspension, read our What Happens When You Suspend an Account documentation.<\/p>\n<h2 id=\"bandwidth-limiting\">Bandwidth limiting<\/h2>\n<p>The system can automatically initiate temporary limits on accounts that exceed the monthly bandwidth limit. The system removes the limits the first time that it processes bandwidth statistics each month. At that time, the account no longer exceeds the limit.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>The system <strong>only<\/strong> imposes bandwidth limiting on an account\u2019s Apache services. Users can still access FTP, Mail, and DAV services, even if their account exceeds the monthly bandwidth limit.<\/p>\n<\/p><\/div>\n<\/div>\n<p>If the system imposes account limitations due to bandwidth limiting, the following statements are true:<\/p>\n<ul>\n<li>\n<p>The system <strong>only<\/strong> imposes account limitations on services that users access via the <code>http<\/code> or <code>https<\/code> method.<\/p>\n<\/li>\n<li>\n<p>The <em>Disk Used<\/em> value exceeds the <em>Disk Limit<\/em> setting in WHM\u2019s <em>View Bandwidth Usage<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Account Information &gt;&gt; View Bandwidth Usage<\/em>).<\/p>\n<\/li>\n<li>\n<p>The <code>\/var\/cpanel\/bwlimited\/<\/code> directory contains <code>.\/user<\/code> and <code>.\/domain<\/code> files that correspond to the account.<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"remove-bandwidth-limitations\">Remove bandwidth limitations<\/h3>\n<p>To remove these limitations, use one of the following methods to raise the monthly bandwidth limit:<\/p>\n<ul>\n<li>\n<p>Increase the bandwidth limit for a single user in WHM\u2019s <em>Limit Bandwidth Usage<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Account Functions &gt;&gt; Limit Bandwidth Usage<\/em>).<\/p>\n<\/li>\n<li>\n<p>Increase the <em>Monthly Bandwidth Limit<\/em> setting for all of a package\u2019s users in WHM\u2019s <em>Edit a Package<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Packages &gt;&gt; Edit a Package<\/em>).<\/p>\n<\/li>\n<li>\n<p>Increase the <em>Monthly Bandwidth Limit<\/em> setting for a single user in WHM\u2019s <em>Modify an Account<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Account Functions &gt;&gt; Modify an Account<\/em>).<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>Changes to this setting may trigger a package conflict. For more information, read our <em>Modify an Account<\/em> documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<\/li>\n<li>\n<p>To remove the limitations for all of the accounts on your server with exceeded monthly bandwidth limits, use WHM\u2019s <em>Unsuspend Bandwidth Exceeders<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Account Functions &gt;&gt; Unsuspend Bandwidth Exceeders<\/em>).<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"account-termination\">Account termination<\/h2>\n<p>When you terminate an account, the system <strong>permanently<\/strong> deletes all of its data from the server. You may wish to terminate an account for the following reasons:<\/p>\n<ul>\n<li>\n<p>You moved an account from one server to another server and all of the first server\u2019s information properly transferred..<\/p>\n<\/li>\n<li>\n<p>A user has not paid their bill for service for a significant period of time.<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"terminate-an-account\">Terminate an account<\/h3>\n<p>To terminate an account, use one of the following methods:<\/p>\n<ul>\n<li>\n<p>WHM\u2019s <em>Terminate Accounts<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; Account Functions &gt;&gt; Terminate Accounts<\/em>).<\/p>\n<\/li>\n<li>\n<p>Run the <code>\/usr\/local\/cpanel\/scripts\/removeacct<\/code> script via the command line as the <code>root<\/code> user.<\/p>\n<\/li>\n<\/ul>\n<p>If you terminate an account, the following statements are true:<\/p>\n<ul>\n<li>\n<p>You <strong>cannot<\/strong> immediately recreate the account, because the system <strong>must<\/strong> remove the account\u2019s MySQL\u00ae users.<\/p>\n<\/li>\n<li>\n<p>The system deletes the account\u2019s DNS zones by default.<\/p>\n<\/li>\n<\/ul>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>You can choose to keep the account\u2019s 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.<\/p>\n<\/p><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview 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. Account suspension Important: The system does not automatically initiate account suspension. When you suspend an account, the system imposes several limitations that remain in place until you &hellip;<\/p>\n","protected":false},"author":1,"featured_media":156,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/155"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/156"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}