The sync_child_accounts Script

Valid for versions 94 through the latest version

Version:

94


Last modified: December 15, 2020

Overview

The /usr/local/cpanel/scripts/sync_child_accounts script lets you synchronize the user configuration of a distributed cPanel account. You can use this script when a cPanel account’s user configuration falls out of sync between the parent node and its child nodes. In most cases, you should not need to run this script. However, running this script for a synchronized account will not make any unwanted changes to a cPanel account.

Run the script

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

/usr/local/cpanel/scripts/sync_child_accounts [options]

Options

Use the following options with this script:

Options Description Example
--user Run the script for a distributed cPanel account. --user=username
--all Run the script for all distributed cPanel accounts.
Note:
You cannot pass both this option and the user option.
--all
--help  Print the script’s help information. --help

Additional Documentation