The modify_accounts Script
Valid for versions 104 through the latest version
Version:
104
Last modified: January 21, 2022
Looking for this interface?
Note:
Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
Overview
You can use the /usr/local/cpanel/usr/local/cpanel/scripts/modify_accounts
script to set existing cPanel accounts to use a new theme.
Run the script
To use this script, run the following command as the root
user:
/usr/local/cpanel/scripts/modify_accounts --theme=theme_name [options]
Note:
In this example, theme_name
represents the name of the theme to which you wish to set for the package.
Options
The /usr/local/cpanel/scripts/modify_accounts
script accepts the following arguments:
Options | Description | Example |
---|---|---|
--theme |
Required The theme name that you wish to assign to the account. Specify the jupiter theme or the name of another valid theme that exists on the server. |
|
--users |
A comma-separated list of the cPanel accounts that you wish to modify. |
|
--all-users |
Update all of the cPanel accounts that exist on the server. |
|
--all-users-from-reseller |
Update all of the cPanel accounts that a specific reseller owns. Note:
This argument only accepts one reseller value.
|
|