The unsuspendacct Script

Valid for versions 96 through the latest version


Last modified: February 18, 2021

Overview

The /usr/local/cpanel/scripts/unsuspendacct script lets you unsuspend an account from the command line. You can also use WHMs 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]

Options

Use the following options with this script:

 
Options
Description
 
Example
account Required.
The cPanel account that you wish to unsuspend.
username
--child-ok Force the script to unsuspend a distributed cPanel account via a child node.
 
Warning:
You should always unsuspend accounts from the parent nodeOnly use this option in an emergency.
--child-ok
--retain-service-proxies Keep the accounts 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

Example

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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...