The unsuspendacct Script

Valid for versions 92 through the latest version

Version:

92


Last modified: November 6, 2020

Overview

The /usr/local/cpanel/scripts/unsuspendacct script allows you to unsuspend an account from the command line.

Run the script

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

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

Options

Use the following options with this script:

Options Description Example
user The account that you wish to unsuspend. username
--retain-service-proxies Keep the account’s current service proxy settings. If you do not use this option, the script will disable service proxying by default. --retain-service-proxies
--help Displays the help text for this script. --help

Success and failure

If the function does not succeed because you entered a user that does not exist on the server, you will receive the following error message:

Invalid user

If the function succeeds, you will receive confirmation from the command line. The output will resemble the following text:

1
2
3
4
5
6
7
8
Changing Shell to /bin/false...Done
Unlocking Password ... Done
Unsuspending email account logins for example.com .... Done
Unsuspending mysql users ... Done
Unsuspending websites ... Done
Unsuspending FTP accounts ... Done
Unsuspending outgoing email ... Done
username's account has been unsuspended

Additional Documentation