The unsuspendacct Script

Valid for versions 96 through the latest version



Last modified: March 27, 2024


The /usr/local/cpanel/scripts/unsuspendacct script lets you unsuspend an account from the command line. You can also use WHM’s Manage Account Suspension interface (WHM » Home » Account Functions » Manage Account Suspension) to unsuspend an account.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/unsuspendacct [account] [options]


Use the following options with this script:

account Required.
The cPanel account that you wish to unsuspend.
--child-ok Force the script to unsuspend a distributed cPanel account via a child node.
You should always unsuspend accounts from the parent node. Only use this option in an emergency.
--retain-service-proxies Keep the account’s current service proxy settings. If you do not use this option, the script disables service proxying by default. --retain-service-proxies
--help Display the help text for this script. --help


The following example unsuspends the username account and retains its service proxies:

/usr/local/cpanel/scripts/unsuspendacct username --retain-service-proxies

When the script succeeds, the output will resemble the following:

Unsuspending outgoing email....Done
Unsuspending email account logins for .... Done
Unsuspending websites...
Unsuspending FTP accounts...
username's account is now active
Unsuspending mysql users
Keep service proxying settings for this account...Done
username's account has been unsuspended

Additional Documentation