The unsuspendacct Script
Valid for versions 96 through the latest version
Last modified: February 18, 2021
/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:
||Required. The cPanel account that you wish to unsuspend.||
||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.
||Keep the account’s current service proxy settings. If you do not use this option, the script disables service proxying by default.||
||Display the help text for this script.||
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 example.com .... 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