What Happens When You Suspend an Account in cPanel & WHM

This article explains all actions performed by cPanel & WHM when an account is suspended. It covers system flags, access restrictions, email behavior, FTP and database impacts, Apache configuration changes, and more.c

cPanel account suspensionWHM suspend behaviorsuspended account effects

~3 min read · Updated Feb 14, 2026

1. Introduction


When you suspend an account in cPanel & WHM, the system performs a series of security and access‑limiting actions. These actions stop the account’s activity, restrict access, and prevent further use of server resources.


Note: Suspension is different from bandwidth limiting.


2. Suspension Flags


The system adds the following flags to /var/cpanel/users/user:


  • SUSPENDED=1
  • SUSPENDTIME=epochdate

This updates WHM interfaces to show the account as suspended.


3. Reseller Access Lock


By default, a suspended reseller who owns their own account can still access it.


You can change this behavior in:

WHM » Server Configuration » Tweak Settings


Set Accounts that can access a cPanel user account to cPanel User Only.


Warning: This prevents the root user from accessing any cPanel account.


Alternatively, when suspending an account, enable Prevent resellers from unsuspending. This creates:


/var/cpanel/suspended/user.lock

4. Stops All User Processes


The system terminates all processes owned by the user. Effects include:


  • Forced logout of active sessions
  • Stopping all cron jobs

5. Locks Mailing Lists


The system moves Mailman list files into suspended.lists.


Result: Mailing lists stop functioning.


6. Locks Web Disk


The system adds *LOCKED* to Web Disk password files:


/home/homedir/etc/webdav/shadow

Result: Web Disk access is disabled.


7. Locks Email Passwords


The system adds *LOCKED* to email password files:


/home/homedir/etc/domain/shadow

Result: Email users cannot download mail, but incoming mail is still delivered.


8. Incoming and Outgoing Email


  • Users cannot send email.
  • Messages in the outbound queue fail.

8.1 Email Delivery Behavior

You can configure how Exim handles incoming mail for suspended accounts in:


WHM » Service Configuration » Exim Configuration Manager


SettingDescription
Deliver messages normallyProcesses mail normally (risky)
Accept and discard messagesAccepts then deletes mail
Reject messages at SMTP timeRejects mail with a permanent error
Accept and queue messagesQueues mail until unsuspended (default)

9. Apache Configuration Updates


The system creates the following include file:


/etc/apache2/conf.d/includes/account_suspensions.conf

This file contains a RedirectMatch rule that redirects all website traffic to the suspended account template.


You can edit the suspended page in:

WHM » Account Functions » Web Template Editor


10. Locks the Shadow Password


The system runs:


passwd -l user

Effects:

  • User cannot log in to cPanel
  • Database users cannot authenticate
  • Password cannot be changed

11. FTP Directory Permission Changes


The system sets public_ftp permissions to 0000.


It also creates:


/etc/proftpd/user.suspended

FTP passwords are locked by prepending !!.


Result: FTP users cannot log in.


12. MySQL Password Changes


The system changes all MySQL user passwords.


Result: Database users cannot access their databases.


Note: Amazon RDS remote databases are not affected.


Conclusion


Suspending an account in cPanel & WHM triggers a comprehensive set of restrictions affecting email, FTP, databases, websites, and user access. These measures ensure security and prevent misuse of server resources during suspension.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue