Vidensdatabase

The unsuspendacct Script  Print denne artikel

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

Hjalp dette svar dig?

Relaterede artikler

WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...